[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: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2007-01-12 19:20:23 CET

On 1/12/2007 1:06 PM, Byron Brummer wrote:
> Duncan Murdoch wrote:
>> Now that this horse is completely dead, I'd like to add the following to
>> its beating:
>> - copies *from* an object are also part of its history.
>> I'd like to be able to see at a glance each time I branched an object,
>> just like you'd like to see when you delete it.
>>
>> In fact, maybe these are really different versions of the same request.
>
> Agreed. SVN stores and reports on "copied from", but not "copied
> to". To compare to CVS most reporting tools (ViewVC, CVSWeb, etc)
> show "Branch point for <branch_name>" at the appropriate log
> entries.
>
> The information is technically in the system, but much like
> reporting on the delete history the user is forced to pull the
> entire history of repos wholesale, filter out "copied from",
> and run a second set of queries against the results. -And it gets
> more difficult yet again when a copy operation also includes
> modifications (effectively "copied from a modified /file.txt@1234"),
> which can happen when coping (branching) using working copy.
>
> It's on my "pet peeve" list for SVN. The handling of history
> across peg versions was just the squeakiest wheel at the moment, so
> I tried to be kind to the list and not fire my entire top 10 list
> at everyone all at once. ;-)

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.

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 12 19:21:05 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.