[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: Byron Brummer <byron.brummer_at_livenation.com>
Date: 2007-01-12 21:47:20 CET

Michael Sinz wrote:
> On 1/12/07, *Duncan Murdoch* <murdoch@stats.uwo.ca
> <mailto:murdoch@stats.uwo.ca>> wrote:
>
> [...]
>
> Maybe the solution to both problems is to give an option to svn log
> that
> says:
>
> "Show me every revision that mentions this URL".
>
> as opposed to the current
>
> "Show me every revision to this URL".
>
> Then I'd see when the file at that URL got deleted, I'd see when it was
> copied somewhere, etc., and the pure view that a delete is a change to
> the enclosing directory rather than the file wouldn't need to change.
>
>
> Ignoring the technical issues, this sounds good as finding the copy-from
> cases is really one of the things I would love to do.

        Maybe: svn log --by-path PATH

        When using such an option @<peg> would be ignored (or error), only
        -r ranges would be valid.

        The syntax should refer to the word "path" and not "URL" IMHO, as
        the concept of a URL is that it's the location of a singular
        resource and we're asking for information on potentially a list
        of resources (objects, peg versions, whatever ya want to call them).

        I like it. I like it a lot. I still think I want --action ontop
        of it to allow for greater resolution if desired, but that's maybe
        another thread.

        My assumption for such a --by-path option would be that it would
        imply --stop-on-copy, since it's reporting on the *path's* history,
        and not the object. And since it's the path's history there may
        well be revisions listed after a copy point is reached...they just
        wouldn't be for the same object (they'd be for the object that
        shared the same path earlier).

        $ svn help log
        Valid options:
        [...]
          --by-path : history of the path, not the object. Ignores @<peg>

-Byron

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 12 21:48:18 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.