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

Re: Resolution of 'svn diff' change?

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-05-19 19:45:48 CEST

I'm willing to accede to a new subcommand, but as Phillip notes:

  * svn diff should take -r options.
  * svn compare should demand two arguments.

I'll note that there is still a piece of functionality from CVS which
these two commands don't encompass, specifically "compare foo and bar
and baz from my working directory against the vendor branch". In CVS,
that's "cvs diff -r vendor foo bar baz"; in svn, we would need a way to
say "svn compare vendor-url . foo bar baz" or something like that. In
one of the long-ago debates, I proposed a unified syntax which would
handle it.

  svn diff [--old=old-target] [--new=new-target] [file1 file2 ...]

Where a target is a wc path or url[@rev], and the file list is relative
to new-target. old-target defaults to wc-base, new-target defaults to
"." (meaning wc-current), and the file list also defaults to ".". I
don't know if that would satisfy people today. svn compare would become
"svn diff --old=foo --new=bar" with the implicit "." file list.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 19 19:46:54 2003

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.