[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-03 12:44:59 CEST

Daniel Rall <dlr <at> collab.net> writes:

> > svn cat -r<operative_rev> URL <at> <peg_rev>
> >
> > svn diff -r<operative_rev_old>:<operative_rev_new> \
> > --old URL_old <at> <peg_rev_old> \
> > --new URL_new <at> <peg_rev_new>
> >
> > svn merge -r<operative_rev_old>:<operative_rev_new> \
> > URL_old <at> <peg_rev_old> \
> > URL_new <at> <peg_rev_new> \
> > [WCpath]
>
> Why not set the peg revision to the desired operative revision?
>

Because in this case i have to figure out manually, which url a directory/file
had at the given operative revision. (In my sample case i have to use /trunk
instead of /branches/v1.0).

In 'svn cat' subversion figures this out for me automatically and I _can_ say:
'display the file which has the url x at HEAD as it was in revision rx.'
In 'svn diff' I _can't_ say the equivalent:
'compare the file which has the url x at HEAD as it was in revision rx,
 with the file which has the url y at HEAD as it was in revision ry.'

I think, if this feature is useful in svn cat, it's as well useful in svn diff
or svn merge.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 3 12:45:29 2007

This is an archived mail posted to the Subversion Dev mailing list.