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

Re: Delete revision of an object has no peg revision?

From: David Glasser <glasser_at_mit.edu>
Date: 2007-01-11 00:10:21 CET

On 1/10/07, Brummer, Byron <ByronBrummer@livenation.com> wrote:
> Even worse is:
>
> svn log -r REV_IN_WHICH_PATH_DID_EXIST path
>
> when path no longer exists @HEAD or @BASE. I'd say the
> peg version defaults are wrong...but that wouldn't help,
> since there's no peg version in the system that will make
> the above request return the entry.

Just use

  svn log path@REV_IN_WHICH_PATH_DID_EXIST

Generally, operation rev (-r) defaults to peg rev if only the peg rev
is specified; the reverse is not true. For most commands, using a peg
rev and not using -r is what you want to do (and in cases where that's
not true, like svn cp, we're working to fix that -- see Hyrum fixing
"svn cp file@REV" as we speak).

--dave

-- 
David Glasser | glasser_at_mit.edu | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 11 00:10:30 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.