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