You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Adam Monsen <ha...@gmail.com> on 2007/03/13 17:46:24 UTC
unexpected replacements using WC -> WC copy to create a branch
Should 'svn copy -r REV WC WC; svn ci -m "blah" WC' behave differently
than 'svn copy -r REV URL URL' ? I'm seeing Replacements I can't
explain when branching using the WC -> WC form of 'svn copy'.
In my example svn working copy I do:
svn copy -r 2239 trunk branches/foo
and I see something like:
A branches/foo/src
A branches/foo/src/main.c
A branches/foo/Makefile
Updated to revision 2239.
A branches/foo
and 'svn status' reports:
A + branches/foo
...so all seems well and good. But after committing, the log message
shows an R from an unrelated revision in addition to an A from the
revision I specified:
------------------------------------------------------------------------
r2407 | adam | 2007-03-13 09:46:35 -0700 (Tue, 13 Mar 2007) | 1 line
Changed paths:
A /branches/foo (from /trunk:2239)
R /branches/foo/src (from trunk/src:2406)
------------------------------------------------------------------------
Was 'src' branched from 2406? Why? I don't understand what the 'R'
means in this case.
This does *not* happen when using the URL -> URL form of 'svn copy'...
the log message looks more like:
------------------------------------------------------------------------
r2409 | adam | 2007-03-13 09:49:10 -0700 (Tue, 13 Mar 2007) | 1 line
Changed paths:
A /branches/bar (from /trunk:2239)
------------------------------------------------------------------------
One further piece of information that may help: there was one
modification on the trunk to src/main.c after 2239...
------------------------------------------------------------------------
r2401 | joe | 2007-03-12 17:28:15 -0700 (Tue, 13 Mar 2007) | 1 line
Changed paths:
M /trunk/src/main.c
------------------------------------------------------------------------
--
Adam Monsen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org