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

RE: feature request: svn revision alias

From: Paul Koning <Paul_Koning_at_dell.com>
Date: Tue, 19 Feb 2008 16:44:19 -0500

>>>>> "David" == David Bicking <Bicking> writes:

>> -----Original Message----- From: Paul Koning
>> [mailto:Paul_Koning_at_dell.com]
>> ...
>> So we end up with this:
>>
>> svn rm .../tags/last_good_nightly_x svn cp .../branches/x
>> .../tags/last_good_nightly_x
>>
>> and that works.

 David> Why is this a problem - because it is a two-step process?

Mostly because it's a cause of user confusion -- the command does
different things depending on the previous state of the repository.

>> Next problem: I want to see the history of that tag. In other
>> words, what are all the revs that I tagged?
>>
>> The obvious answer is:
>>
>> svn log .../tags/last_good_nightly_x
>>
>> but that doesn't give me the history of the tag (the sequence of
>> revs that were tagged with that tag); instead, it gives me the
>> history of the branch rev that was most recently tagged, or it
>> just gives me the last tag (if I say --stop-on-copy).

 David> What is your use case for this feature? What is the benefit
 David> of "changing the contents" of a tag, and tracking the history
 David> of those changes? Is "the sequence of revs having that tag" a
 David> history of what revision numbers that name referenced in the
 David> past (e.g., r22 on Monday, r43 on Tuesday, r55 on Friday)? Is
 David> this and the prior point essentially a pining for "floating
 David> labels"?

Consider the example I gave: a tag "last_good_build_x".

If I look at the repository, I see the most recent good build, tagged
with that tag.

But if I want to know "what were the earlier good builds", the
intuitive answer would be "look at the history of that tag". But that
history doesn't exist in Subversion, at least not in something
directly accessible rather than data to be laboriously extracted from
a much larger log.

In other words, if I want to know "what were all the things (all the
revisions) tagged X" that's not a question that Subversion can answer.

           paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-19 23:58:24 CET

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.