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]
CommentFileSizeAuthor
#3 813596-drush-svn-remove-ignore.patch1.12 KBdandaman

Comments

dandaman’s picture

If this helps, here is the information on the version of SVN I was using:

Macintosh:inreview Dan$ svn --version
svn, version 1.6.5 (r38866)
   compiled Oct 16 2009, 02:54:10

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

greg.1.anderson’s picture

If 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.

dandaman’s picture

Version: All-versions-3.0 »
Status: Active » Needs review
StatusFileSize
new1.12 KB

This patch removes Ignore from the statuses on which the svn status command errors out.

basvredeling’s picture

I've tested the patch. Works great. Please commit this to trunk.

greg.1.anderson’s picture

Status: Needs review » Fixed

Committed. Thanks.

bibo’s picture

I also tested it => works fine. If I hadn't found this issue I would have probably wasted hours.
Thank you :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.