[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: OS <os_at_portfoolio.com>
Date: Mon, 18 Feb 2008 14:27:30 -0800

Reserved revision names? No problem.
The user wouldn't be allowed to create that kind of alias, of course.
(Again, sounds simple?...)

The root of my users' complaint is that tagging is not copying (while
branching is).
As a concept, tagging is just labeling. (I guess?)
And in that sense (and strictly speaking), svn lacks the concept of tagging.

And after looking around, I've found that all other SCMs do support
tagging as a distinct concept.
(I guess they see some advantage in that)

But again, I've given up on "concept" discussions and ended up having to
implement a workaround
at my users' complaints. (It's simple enough thank goodness) The
customer is always right they say :)

So I just thought I'd feed it back as it seemed to fit quite nicely with
svn's revision scheme.

Cheers!

Karl Fogel wrote:

>OS <os_at_portfoolio.com> writes:
>
>
>>The svn revision is pretty much equivalent to what a tag is in other
>>systems.
>>But it's a numeric value, hard to remember, etc -- and people wish to
>>give tags descriptive names.
>>
>>
>
>Yes... one way to do that is to give them a name under the 'tags'
>directory... :-)
>
>
>
>>Wouldn't this be useful:
>>svn alias <rev> <name> (or svn revalias <rev> <name>)
>>
>>Then one would be able to use <rev> and <name> interchangeably in
>>other svn operations.
>>Call it the poor man's svn tag! :)
>>
>>I don't know... But it appears simple enough to implement (please
>>excuse my ignorance), and I think
>>many people out there would love this feature. (At least judging by my
>>pesky users!)
>>
>>
>
>There have been some requests for this before. It's not out of the
>question, but it's complicated. For example, we already have some
>symbolic revision names ("HEAD", "PREV", etc), and these would have to
>become special reserved labels, since they can already be used where a
>revision number would normally be used. But then we have to predict
>all future special labels, which is hard to do.
>
>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.
>
>-Karl
>
>
>
>
>
Received on 2008-02-19 05:52:31 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.