[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-issues
Subject:    [Issue 4550] New - unrunnable wq item replacing tree with foreign external
From:       philip () tigris ! org
Date:       2015-01-15 13:53:27
Message-ID: iz4550 () subversion ! tigris ! org
[Download RAW message or body]

http://subversion.tigris.org/issues/show_bug.cgi?id=4550
                 Issue #|4550
                 Summary|unrunnable wq item replacing tree with foreign externa
                        |l 
               Component|subversion
                 Version|trunk
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|libsvn_wc
             Assigned to|issues@subversion
             Reported by|philip






------- Additional comments from philip@tigris.org Thu Jan 15 05:53:26 -0800 2015 -------
An update that replaces a directory tree with a directory external to a foreign
repository can result is workqueue item that fails to run.  Reported here:

http://svn.haxx.se/users/archive-2015-01/0056.shtml
http://mail-archives.apache.org/mod_mbox/subversion-users/201501.mbox/%3C54B7B1DC.3030108%40zmdi.com%3E

Simplified recipe:

svnadmin create repo1
svnadmin create repo2
svnmucc -mm -U file://`pwd`/repo1 \
  mkdir dir1 \
  put repo1/format dir1/file2
svnmucc -mm -U file://`pwd`/repo2 \
  propset svn:externals '^/../repo1 dir3' /
svnmucc -mm -U file://`pwd`/repo2 \
  propdel svn:externals / \
  mkdir dir3 \
  mkdir dir3/dir1

svn co file://`pwd`/repo2 wc
svn up -r1 wc
Updating 'wc':
D    wc/dir3
 U   wc

Fetching external item into 'wc/dir3':
A    wc/dir3/dir1
A    wc/dir3/dir1/file2
svn: warning: W155009: Failed to run the WC DB work queue associated with
'/home/pm/sw/subversion/obj/wc/dir3', work item 1 (file-install dir3/dir1/file2
1 0 1 1)

Updated to revision 1.
svn: E205011: Failure occurred processing one or more externals definitions


With a debug build there is a different error:

Updating 'wc':
D    wc/dir3
 U   wc

Fetching external item into 'wc/dir3':
svn: warning: apr_err=SVN_ERR_SQLITE_CONSTRAINT
svn: warning: W200035: sqlite[S19]: WC DB validity check 03 failed

Updated to revision 1.
../src/subversion/svn/update-cmd.c:175:
(apr_err=SVN_ERR_CL_ERROR_PROCESSING_EXTERNALS)
svn: E205011: Failure occurred processing one or more externals definitions

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=463&dsMessageId=3094303

To unsubscribe from this discussion, e-mail: [issues-unsubscribe@subversion.tigris.org].
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic