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

Re: I, too, miss tags.

From: Saulius Grazulis <grazulis_at_akl.lt>
Date: 2006-02-25 22:40:37 CET

On Sunday 26 February 2006 07:51, Scott Palmer wrote:

> I think much of the point is that people want to tag something  
> without creating a branch.  It doesn't matter if you can't commit on  
> the 'tag' branch, it is still created in a different part of the  
> tree.  Checking out something from the 'tags' branch does not give  
> you what you had tagged, it gives a copy in a different branch.

Absolutely!

> When I check out a revision that I've "labeled" I want it to be in  
> the same branch that it was originally in.  Like 'svn co -rXXXXX  url-
> to-the-trunk'.

This is exactly how I see it.

> It is generally useful, I think, to have a symbolic  
> name for revisions within the branch of the tree that I am working  
> in, something distinct from a copy which creates a new branch based  
> on an existing one.

I also think it would be useful, at least for my style of work.

> Cheap copies are great for branches and often useful for tags, but  
> they are different from what people are asking for in this thread.  
> Some sort of labeled revision associated with an existing part of the  
> svn filesystem's directory tree would be a good thing to have.  This  
> can be implemented with a property set on the directory,

That is exactly what I mean when I say that cheap copies are great for
branches but not so great for tags.

> but it is  
> awkward to deal with without built-in support.

As a prototype, a wrapper script would do. A good thing about a wrapper script
is that it does not need any change in Subversion itself. Also, one could
continue to use the usual svn client, in cases one does not need labels (like
everyday commits and updates). If there are no intrinsic difficulties with
the concept of labels, maybe some day it makes its way to the svn
itself... ;).

-- 
Saulius Gražulis
Visuomeninė organizacija "Atviras Kodas Lietuvai"
P.Vileišio g. 18
LT-10306 Vilnius
Lietuva (Lithuania)
tel/fax:      (+370-5)-210 40 05
mobilus:      (+370-684)-49802, (+370-614)-36366
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 26 07:44:49 2006

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.