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

Re: svn diff interface

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-05-07 16:26:45 CEST

Greg Hudson <ghudson@MIT.EDU> writes:

> On Mon, 2002-05-06 at 22:48, Garrett Rooney wrote:
> > > 2. Phillip Martin's suggestion, where "svn diff" takes either one or
> > > two arguments (instead of N arguments or two arguments).
> > personally, (2) seems the most intuitive to me, but i haven't done a
> > ton of work with cvs. what makes this syntax inconsistent with cvs?
> In CVS, I can make a bunch of mods in a directory, do "cvs diff path1
> path2", and see the mods I made to path1 and path2 in particular. I do
> this all the time. I could "echo path1 path2 | xargs -n1 svn diff", of
> course; it's just harder.
> It's not just inconsistent but potentially surprising. Under Phillip's
> suggestion, "svn diff path1 path2" would diff path2 against path1,
> producing a successful result which is totally different from what a CVS
> user would expect.

Yes, it's different, is that a big problem? I don't use CVS a great
deal, but when I run 'svn diff' it is usually with zero or one
arguments. When I use two arguments, comparing the two arguments
against each other is usually what I *want*.

Is having the 'svn diff TARGET1 TARGET2' behaviour depend on the exact
form of the targets a good interface? I would much prefer consistency
with 'svn merge' than with CVS.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 7 16:27:45 2002

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.