[Svnmerge] Re: Finding root of the repo

Giovanni Bajo rasky at develer.com
Mon Sep 26 09:58:32 PDT 2005


Archie Cobbs <archie at dellroad.org> wrote:

>> svnmerge is currently doing a slow loop to find the repo root
>> (get_reporoot): it removes one component at a time from the path until
the
>> command fails. But I just found out that "svn info URL" also shows the
repo
>> root, and it's just a single command. I was wondering if there is a
reason
>> why you didn't use, or you hand't noticed before.
>
> Excellent question.. the reason is that "svn info URL" is a (relatively)
> new feature.. thanks to my feature request!! When I originally wrote
> svnmerge you could not "svn info" an URL.
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=2058

Ah, nice!

Then, what should we do? Behave differently depending on the SVN client
installed? I can run "svn --version" at startup and store the version. If
it's >= 1.2.0, i assume I can use "svn info" on an URL, and do that.
-- 
Giovanni Bajo




More information about the Svnmerge mailing list