[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: Bicking, David (HHoldings, IT) <David.Bicking_at_thehartford.com>
Date: Tue, 19 Feb 2008 15:33:51 -0500

> -----Original Message-----
> From: Paul Koning [mailto:Paul_Koning_at_dell.com]
>
> >> Aside from "some people aren't used to it", I've not seen
> any >> convincing disadvantages demonstrated for just using
> 'svn copy' to >> create a tag, I have to admit. I'm keeping
> an open mind, but if >> we're going to extend Subversion's
> interface, it should be because >> of a convincing advantage.
>
> Ok, here's one.
>
> In our build scripts we want to tag "last good nightly build
> of release stream x". So, roughly speaking, that amounts to:
>
> svn cp .../branches/x .../tags/last_good_nightly_x
>
> However, that doesn't work. More precisely, it only works
> the first time. If you do it a second time, you end up with
> "x" as a subdirectory inside last_good_nightly_x, because the
> second time is't a copy to an existing directory name rather
> than a nonexistent directory name.
>
> 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.

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

>
> 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).

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

--
David
*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************
---------------------------------------------------------------------
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 21:34:34 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.