I'm hoping someone can help me understand what happens when merging changes 
from a branch that contain deleted and later readded files.  The merge seems 
to work, but the commit fails, claming the file is out of date...  I'm sure 
this is a FAQ, but I didn't find it.  How should this situation be handled?  
Many thanks,
--clemens
server  1.2.3  (using apache2+mod_dav_svn.so) (also verified against local 
1.3.1 file:/// repository)
client 1.3.1
server: 
$ svnadmin create /svn/test
client:
$ svn co http://svn/test
Checked out revision 0.
$ mkdir -p branches/foo
$ svn add branches/
A         branches
A         branches/foo
$ svn ci -m,
Adding         branches
Adding         branches/foo
Committed revision 1.
$ mkdir -p branches/foo/dollop/dingle
$ echo foobar > branches/foo/dollop/dingle/stuff
$ svn add branches/foo/dollop
A         branches/foo/dollop
A         branches/foo/dollop/dingle
A         branches/foo/dollop/dingle/stuff
$ svn ci -m,
Adding         branches/foo/dollop
Adding         branches/foo/dollop/dingle
Adding         branches/foo/dollop/dingle/stuff
Transmitting file data .
Committed revision 2.
$ svn cp branches/foo branches/bar
A         branches/bar
$ svn ci -m,
Adding         branches/bar
Adding         branches/bar/dollop
Committed revision 3.
$ cd foo/dollop/dingle/
$ echo banana >> stuff
$ svn ci -m,
Sending        dingle/stuff
Transmitting file data .
Committed revision 4.
$ svn delete stuff
D         stuff
$ svn ci -m,
Deleting       dingle/stuff
Committed revision 5.
$ echo another one > stuff
$ svn add stuff
A         stuff
$ svn ci -m,
Adding         dingle/stuff
Transmitting file data .
Committed revision 6.
$ echo more and more >> stuff
$ svn ci -m,
Sending        dingle/stuff
Transmitting file data .
Committed revision 7.
$ cd ../../../bar
$ svn up
At revision 7.
$ svn status -vu
                7        2 clemens      dollop/dingle
                7        2 clemens      dollop/dingle/stuff
                7        3 clemens      dollop
                7        3 clemens      .
Status against revision:      7
$ svn merge -r3:7 http://svn/test/branches/foo .
D    dollop/dingle/stuff
A    dollop/dingle/stuff
$ svn status -v
                7        3 clemens      .
                7        3 clemens      dollop
                7        2 clemens      dollop/dingle
R  +            -        7 clemens      dollop/dingle/stuff
$ svn status -vu svn: REPORT request failed on '/svn/test/!svn/vcc/default'
svn: Working copy path 'dollop/dingle/stuff' does not exist in repository
$ svn diff dollop/dingle/stuff
$ svn ci -m,
Replacing      bar/dollop/dingle/stuff
svn: Commit failed (details follow):
svn: Item '/branches/bar/dollop/dingle/stuff' is out of date
### update: Trying this against a local file:/// repository build with
### svnadmin 1.3.1 has the same issue.  The error message is slightly
### different:
Replacing      bar/dollop/dingle/stuff
svn: Commit failed (details follow):
svn: Out of date: '/branches/bar/dollop/dingle/stuff' in transaction '7-1'
$ svn diff dollop/dingle/stuff
$ ls dollop/dingle/stuff
dollop/dingle/stuff
$ svn status -v
                7        3 clemens      .
                7        3 clemens      dollop
                7        2 clemens      dollop/dingle
R  +            -        7 clemens      dollop/dingle/stuff
$ svn up
svn: REPORT request failed on '/svn/test/!svn/vcc/default'
svn: Working copy path 'dollop/dingle/stuff' does not exist in repository
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 19 22:43:38 2006