[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: Alan Langford <jal_at_ambitonline.com>
Date: 2002-03-29 19:59:19 CET

I'm not sure if my ignorance here makes this a Stupid Suggestion or a
Really Stupid Suggestion or something else, but how about making
non-positive revnums relative? The syntax would be

$ svn diff -r --1:1598

For (rev-1):rev. Ugh. Maybe you can use a character for "relative revnum"
(I'll use "@" not knowing the implications, any appropriate character will
do)...

$ svn diff -r -@-2:1598

For (rev-2):rev. Then you can use two @'s for relative to the head...

$ svn diff -r -@-1:@

For (head-1):head.

Anyhow, if this is a dumb idea, feel free to ignore me.

At 2002/03/29 10:30 -0800, Blair Zajac wrote:
> > 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 29 20:00:29 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.