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

Re: Should all sub-commands accept a peg-revision?

From: Josh Pieper <jjp_at_pobox.com>
Date: 2004-11-02 14:12:02 CET

Greg Hudson wrote:
> Just to raise another little issue, I think
>
> svn diff -r N TARGET@PEG
>
> should default the upper operative revision to PEG. Right now we
> default it without regards to the peg revision, so a command like:
>
> svn diff -r 7303 http://svn.collab.net/repos/svn/trunk/subversion/libsvn_fs/id.c@7304
>
> fails because it it tries to do a forward-lookup of
> subversion/libsvn_fs/id.c from peg-rev 7304 to head.
>
> This defaulting would be consistent with what you've done with commands
> like cat in your patch.

Does anyone have objections to this change? Namely defaulting the
ending rev of a diff to the peg revision if no end revision is
present? I think it makes sense, so I'll go ahead and make it if no
one objects.

-Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 2 14:12:20 2004

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.