[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-04-30 21:00:28 CEST

On Mon, 30 Apr 2007, Ronny Völker wrote:

> Daniel Rall <dlr <at> collab.net> writes:
>
> > > So is there a command to do this diff without explicitly referring to
> http://trunk?
> >
> > No -- it's assumed that you'll refer to revisions which actually exist
> > at a path when using peg revisions.
> >
> How about my second try:
> svn diff -r5:head --old=http://branches/v1.0 <at> head --new=http://tags/v1.0.0
> <at> head
> The peg revisions (both HEAD) are existing.
> This syntax would be consistent with the usage of peg revisions in other
> commands like svn cat or svn log, I think.
>
> Without this functionality it can get painful to figure out the right url for
> diffing a older version of a directory which has been copyed/renamed a couple of
> times.

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.

  • application/pgp-signature attachment: stored
Received on Mon Apr 30 21:01:25 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.