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

Re: rfc: proposal for new "svn diff" behavior

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-03-29 19:30:37 CET

Karl Fogel wrote:
>
> Ben Collins-Sussman <sussman@collab.net> writes:
> > Actually, Karl is realizing that he was very confused when writing
> > this mail, and he's going to follow up later. It's full of
> > misunderstandings, as I pointed out to him in person. :-)
>
> Yes. I'd have to work hard to misrepresent diff's current behavior
> more than in that mail. :-)
>
> Anyway, I think Greg Hudson's comment about avoiding gratuitous
> incompatibility with CVS is good, too. If we can find a way to
> optimize the common (REV-1):REV case without being incompatible, that
> would be best.
>
> Maybe
>
> $ svn diff -r -:1598
>
> or something? I know it seems faintly silly to have a shortcut for
> subtracting 1, but having a small, predictable number of keystrokes
> every time can be a great help.

How about introducing a new command line option to make it easier. Even
typing -r -:1598 requires something to me remember. I can't think of a
good short name for the option, but something like

svn diff -p 1598

-p for diff with the previous revision?

Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 29 19:31:50 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.