Copy with externals, then commit fails
From: Ryno Changuion <ryno.changuion_at_za.thalesgroup.com>
Date: Wed, 26 Jan 2011 11:29:55 +0200
I tried to create a new branch of a trunk that had some svn:externals
In particular, it pointed to a file.
I.e.
/somewhere/a.txt_at_4 a.txt
I used
svn copy svn://server/trunk branch
And the output from that was the usual stuff including
E a.txt (indicating an externals file).
svn stat had the following output:
+X a.txt
Of course, the plus means "with history".
After this, I could not do a commit. The commit failed with a message:
svn: File not found: revision 4, path '/trunk/a.txt'
My suspicion is that due to the fact that the file has history
with it, the commit tries to commit a file that it shouldn't be
Besides, I didn't want to add a.txt to my branch, I still wanted it to
from the original externals definition. Is it a bug that svn copy adds
history info to an external file?
Anyway, I did manage to work around the problem by using
svn copy --ignore-externals svn://server/trunk branch
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.