[Svnmerge] Merge, revert, merge may not commit added files

Archie Cobbs archie at dellroad.org
Wed Jun 7 14:00:51 PDT 2006


Blair Zajac wrote:
> I ended up with a bad merge, that is, the merge committed but it did not 
> contain the entire commit that was the source of the merge.
> 
> This happens when you do:
> 
> 1) Add a file on a trunk.
> 2) Commit the file.
> 3) Run svnmerge.py on the branch.
> 4) Do a recursive revert: svn revert -R .
> 5) DO NOT delete the newly added file in the branch.
> 6) Re-run svnmerge.py to merge the same commit.

In this case there should have been a "Skipped 'some/file'" message that
was output. That is supposed to alert to you that the merge is incomplete.

I agree the behavior is less than optimal, but in theory this is
"known behavior" .. part of the "user interface" of svnmerge is that
you must observe the output for any red flag messages... of course,
these happen in other normal cases, such as a merge of a commit which
modifies a file that got added in a previous but yet-to-be-merged
revision.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



More information about the Svnmerge mailing list