[Svnmerge] [PATCH] Accept unambiguous substrings as head

Mattias Brändström thebrasse at brasse.org
Mon May 15 06:07:05 PDT 2006


Hello!

Accepting substrings as the head argument is a really nice feature. I am 
however a bit surprised to see that I could not specify 
/branches/rb-1.00 as the substring of a branch at 
svn+ssh://design200/home/svn/foo-repos/branches/rb-1.00. The repository 
URL is svn+ssh://design200/home/svn/foo-repos. I took a look at the code 
and found this at line 1734:

if rlpath.find(head) = 0:
   found.append(rlpath)

When I changed this to:

if rlpath.find(head) >= 0:
   found.append(rlpath)

Everything worked as I would expect. Is this a bug or is it supposed to 
work like this?

:.:: mattias



More information about the Svnmerge mailing list