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

Re: svn diff and peg revisions

From: Ronny Völker <ronny.voelker_at_elaxy.com>
Date: 2007-05-02 11:54:25 CEST

Daniel Rall <dlr <at> collab.net> writes:
>
> IIUC, this would create a user interface inconsistency, as I don't
> think "-r" is supported anywhere where it's possible to use two
> different repository URLs.
>

That's right, but I think the other places where it is possible to use two
"historical" URLs (merge is the only one I remember) would profit from this
feature too.

It should be possible to specify two revisions per URL (one PEG and one
operative revision).

I'm not sure if the combination of the -r option and the @ revisions is the
right way to do it, but for me it looks quite consistent:

svn cat -r<operative_rev> URL@<peg_rev>

svn diff -r<operative_rev_old>:<operative_rev_new> \
   --old URL_old@<peg_rev_old> \
   --new URL_new@<peg_rev_new>

svn merge -r<operative_rev_old>:<operative_rev_new> \
   URL_old@<peg_rev_old> \
   URL_new@<peg_rev_new> \
   [WCpath]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 2 11:54:54 2007

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.