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

Re: FreeBSD project and subversion.

From: Branko Čibej <brane_at_wandisco.com>
Date: Wed, 06 Feb 2013 12:41:05 +0100

On 06.02.2013 07:21, Branko Čibej wrote:
> Given all the above, I think we should find a way to warn users --
> with a one-line note in the header of the diff output, for example? --
> about the cases where the two-parameter diff could be ambiguous
> (which, I believe, is when both parametrs are WC paths or URLs); and
> further, when any of the paths are unversioned.

One other option would be, as was noted elsewhere in this thread, to
invent a new subcommand for tree comparisons, keeping only the
historical differences feature in "svn diff".

That would solve the ambiguity, but it would (a) break backward
compatibility, and (b) invent yet another subcommand, which we don't like.

Yet another option would be to introduce a new option, so instead of using

    svn diff --old A --new B

you'd get

    svn diff --compare A B

to generate a diff between the two targets, and plain

    svn diff A B

to get the historical diff of each target.

Unfortunately this option has all the drawbacks of the new subcommand,
and none of the benefits (the benefit being that with a subcommand, the
help text could be shorter, since that's tied to the subcommand, not
individual options).

-- Brane

-- 
Branko Čibej
Director of Subversion | WANdisco | www.wandisco.com
Received on 2013-02-06 12:41:47 CET

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

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