Closed (fixed)
Project:
Drush
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 May 2010 at 03:38 UTC
Updated:
30 Jun 2010 at 22:20 UTC
Jump to comment: Most recent file
SVN committing breaks when there are ignored files included in the request for SVN status. Here is my command output:
Macintosh:inreview Dan$ drush -l http://localhost/inreview -v pm-update
Initialized Drupal 6.15 root directory at /Users/Dan/Documents/workspace/Local inReview Trunk [notice]
Initialized Drupal site localhost at sites/default [notice]
Refreshing update status information ...
WD update: Attempted to fetch information about all available new releases and updates. [notice]
Done.
Update information last refreshed: Sun, 05/30/2010 - 21:31
Update status information on all installed and enabled Drupal projects:
Name Installed version Proposed version Status
Administration menu 6.x-1.5 6.x-1.5 Up to date
Advanced help 6.x-1.2 6.x-1.2 Up to date
Automatic Nodetitles 6.x-1.2 6.x-1.2 Up to date
Better Formats 6.x-1.2 6.x-1.2 Up to date
Drupal 6.15 6.16 SECURITY UPDATE available
Coder 6.x-2.0-beta1 6.x-2.0-beta1 Up to date
Content Construction Kit (CCK) 6.x-2.6 6.x-2.6 Up to date
Content Access 6.x-1.2 6.x-1.2 Up to date
Chaos tool suite 6.x-1.5 6.x-1.5 Up to date
Date 6.x-2.4 6.x-2.4 Up to date
Devel 6.x-1.20 6.x-1.20 Up to date
FileField 6.x-3.3 6.x-3.3 Up to date
Global Redirect 6.x-1.2 6.x-1.2 Up to date
Image 6.x-1.0-beta5 6.x-1.0-beta5 Up to date
ImageAPI 6.x-1.8 6.x-1.8 Up to date
ImageCache 6.x-2.0-beta10 6.x-2.0-beta10 Up to date
ImageField 6.x-3.3 6.x-3.3 Up to date
iTunes 6.x-1.5 6.x-1.5 Up to date
MimeDetect 6.x-1.3 6.x-1.3 Up to date
Nodequeue 6.x-2.9 6.x-2.9 Up to date
Node Reference URL Widget 6.x-1.6 6.x-1.6 Up to date
Node reference views 6.x-1.2 6.x-1.2 Up to date
Panels 6.x-3.5 6.x-3.5 Up to date
Path redirect 6.x-1.0-beta6 6.x-1.0-beta6 Up to date
Pathauto 6.x-1.3 6.x-1.3 Up to date
Popups API (Ajax Dialogs) 6.x-1.3 6.x-1.3 Up to date
Popups: Add and Reference 6.x-1.0 6.x-1.0 Up to date
SWF Tools 6.x-2.5 6.x-2.5 Up to date
Token 6.x-1.12 6.x-1.12 Up to date
Views 6.x-2.10 6.x-2.10 Up to date
Views attach 6.x-2.2 6.x-2.2 Up to date
Views Slideshow 6.x-2.1 6.x-2.1 Up to date
Workflow 6.x-1.4 6.x-1.4 Up to date
Wysiwyg 6.x-2.1 6.x-2.1 Up to date
Code updates will be made to drupal core.
WARNING: Updating core will discard any modifications made to Drupal core files, most noteworthy among these are .htaccess and robots.txt. If you have made any modifications to these files, please back them up before updating so that you can re-create your modifications in the updated version of the file.
Note: Updating core can potentially break your site. It is NOT recommended to update production sites without prior testing.
Do you really want to continue? (y/n): y
Executing: svn info '/Users/Dan/Documents/workspace/Local inReview Trunk/drupal-6.16' [notice]
Executing: cd '/Users/Dan/Documents/workspace/Local inReview Trunk/drupal-6.16' && svn status .buildpath .cache [notice]
.DS_Store .htaccess .project .settings CHANGELOG.txt COPYRIGHT.txt cron.php db_dump.sql files includes index.php
INSTALL.mysql.txt INSTALL.pgsql.txt install.php INSTALL.txt LICENSE.txt MAINTAINERS.txt misc modules profiles
robots.txt scripts themes update.php UPGRADE.txt xmlrpc.php
The SVN working copy at /Users/Dan/Documents/workspace/Local inReview Trunk/drupal-6.16 appears to have uncommmitted [error]
changes (see below). Please commit or revert these changes before continuing:
I .buildpath
I .cache
I .DS_Store
I .project
I .settings
I files
An error occurred at function : drush_pm_updatecode [error]
An error occurred at function : drush_pm_update [error]
Command dispatch complete [notice]
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 813596-drush-svn-remove-ignore.patch | 1.12 KB | dandaman |
Comments
Comment #1
dandaman commentedIf this helps, here is the information on the version of SVN I was using:
Comment #2
greg.1.anderson commentedIf you want to make and test a patch, find the line
$output = preg_grep('/^[ ACDIMRX?!~][ CM][ L][ +][ SX][ K]/', drush_shell_exec_output());in commands/pm/version_control/svn.inc and take the "I" out of "[ ACDIMRX?!~]". See if that works better.Comment #3
dandaman commentedThis patch removes Ignore from the statuses on which the
svn statuscommand errors out.Comment #4
basvredelingI've tested the patch. Works great. Please commit this to trunk.
Comment #5
greg.1.anderson commentedCommitted. Thanks.
Comment #6
bibo commentedI also tested it => works fine. If I hadn't found this issue I would have probably wasted hours.
Thank you :)