[Svnmerge] Error with svnmerge init

Archie Cobbs archie at awarix.com
Tue Nov 29 12:31:39 PST 2005


This is with svymerge.py r16860 from the Subversion repository.

I accidentally ran "svnmerge init" on the wrong directory.
Instead of failing, it initialized anyway with some random
source path deep below (within) the directory and revision number.

Apparently, it found the first "copyfrom-path" attribute in the
output of svn log and used that, without verifying that the path
being copied to was the same as (or an ancestor of) the path of
the new branch directory being initialized. It just happened to
find the most recently copied file, one that was deep in the
directory hierarchy.

It might be better to check this more strictly, so that in this
case an error like "can't determine copy history" or something
is emitted instead.

Thanks,
-Archie

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



More information about the Svnmerge mailing list