[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn diff branch woprking copy against mainline?

From: Kevin Puetz <puetzk_at_puetzk.org>
Date: 2005-11-04 02:08:02 CET

Branko Čibej wrote:

>> Sure. But svn info also knows (and has known for far longer) the URL.
>> and URL with the Repository-Root prefix whacked off is BASE/DIR. So that
>> info is obtainable.
>>
> You can't tell which is BASE and which is DIR.
>
> -- Brane

Sure. I wasn't trying to tell where to split it, just that you can get the
repository root on only the repository path (which is in the middle).

The fact that you can't automagically tell where to split BASE from DIR is
why I made it -pN:/path (like patch) instead of -p/path; you have to tell
it how much is prefix and how much is common. Since N is basically always 1
or 2 in common repository layouts, I don't think this is particularly
onerous in practice.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 4 02:13:19 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.