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

Delete revision of an object has no peg revision?

From: Brummer, Byron <ByronBrummer_at_LiveNation.com>
Date: 2007-01-08 23:29:29 CET

A peg revision refers to the Add revision of the object and all Modified
changes to it, but for some reason leaves the Delete revision off? The
deletion of an object is directly related to that object more then any
other object, yet SVN apparently believes it's only a concern of the
object's parent directory?

If url://some/file.txt was Deleted in rev 1234 it makes no sense why
running:

        svn log -r 1234 url://some/file.txt

Does not produce the log entry for that Deletion? In fact there
apparently is no method whatsoever get the log entry for 1234 using the
file's path, svn demands you use the parent path (assuming (danger!!!)
that the HEAD version of the parent path is the same peg version as the
parent path as existed at rev 1234). If you're just pulling the log of
a single rev you could just point to the base repo url, but if you're
pulling a range like 1100:1234 it gets ugly fast if you're trying to
just get the log history for some/file.txt. -Same goes for pulling the
parent directory; you have to do a lot of hacky filtering to get the
information that SVN should clearly be able to give you directly.

In some ways this is related to issue 928, but not completely. A peg
version should include:

        The creation (Add) of the object.
        The changes (Modified) to the object.
        The removal (Deletion) of the object.

Comments?

-Byron

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 8 23:30:41 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.