Re: svn diff interface
From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-05-10 08:09:20 CEST
Here's a radical idea, which gets us back to just one uber-use-case:
svn diff --old=[OLDTARGET][@OLDREV] --new=[NEWTARGET][@NEWREV] [path ... ]
OLDTARGET and NEWTARGET default to "."
Revision values of "base" and "current" are equivalent to "head" when
If paths are specified in the "[path ...]" part, they prune the diff
Examples:
Diff current wc dir, current against base:
Diff three particular paths under current wc dir, current against base:
Diff current wc dir against a URL:
Diff current wc dir against a sibling dir:
Diff between two URLs:
What changed in sshconnect.c and sshd.c between ssh and openssh?
Diff between rev 3 and 4 of two particular paths under current wc dir:
Diff between rev 3 and 4 of a URL:
The last two examples seem pretty clunky. I don't know if this
Anyway, just an idea. I'm still happy with either the "smart" or
---------------------------------------------------------------------
|
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.