[Svnmerge] Error with svnmerge init

Giovanni Bajo rasky at develer.com
Wed Nov 30 00:15:30 PST 2005


Archie Cobbs <archie at awarix.com> wrote:

>>> 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.
>> 
>> Out of curiosity, was the shell version doing better in this regard?
>> Anyway, I plan to implement a more thorough XML log parser for
>> "svnmerge log" purposes. 
> 
> No, it parsed incorrectly too and bailed out with a misformatted error
> message "incorrect revision list". But at least it failed :-)


Must be a regexp problem. Can you try changing this regexp:

<path .*action="A".*>

in function get_copyfrom() with this:

<path [^>]*action="A"[^>]*>

Giovanni Bajo




More information about the Svnmerge mailing list