I tried to create a new branch of a trunk that had some svn:externals
definition. 

In particular, it pointed to a file.

 

I.e.

/somewhere/a.txt@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
associated

with it, the commit tries to commit a file that it shouldn't be
committing.

Besides, I didn't want to add a.txt to my branch, I still wanted it to
come 

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

 

 

 

Reply via email to