[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: Daniel Rall <dlr_at_collab.net>
Date: 2007-05-03 01:47:52 CEST

On Wed, 02 May 2007, Ronny Völker wrote:

> 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]

Why not set the peg revision to the desired operative revision?

  • application/pgp-signature attachment: stored
Received on Thu May 3 01:47:59 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.