[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_ibt.lt>
Date: 2006-02-27 14:32:22 CET

On Sunday 26 February 2006 22:00, Rob van Oostrum wrote:

> > The repo root could also be used for repo-wide labels.
> >
> > Scott
> So when searching for a tag, your wrapper script would have to traverse
> ALL branches, and somehow figure out how to chose between duplicates?

Not at all. Our wrapper should get a list of labels from root of the WC.
Something like (could not help playing a bit):

saulius@lokys labels-in-subversion/ > svn pl -v wc/
Properties on 'wc':
  svn:labels :

Now, if I tell svn-wrapper that I want revision VER-1.0, it will use r1, and
if I tell that I

> How would it even know where to look for these branches?

At the root :)

> Would this need
> to be configurable

Can be, but must not be.

> ... to support different repository layouts?

Add label to the directory from which one commits. Warn if the associated
label list is empty. This will work fine with any dir layout

> Also, this
> would preclude you from cleaning up branches you no longer need to get
> rid of some clutter,

Epps... what clutter? You still think that labels are directories ;). They are

If you do not need a temporary label, remove it -- its gone (but will remain
in old revisions -- fine, the deletion must be documented). If the label is
MILESTONE-RELEASE-100.1, it should probably be never deleted and will be
flagged as such to prevent accidental/unauthorazed removal ;)

> unless you don't care about losing visibility over
> the associated tags as well.

Hei, come on!

saulius@lokys labels-in-subversion/ > svn pl -v wc/ | tail -n 3

even now gives us two last labels, out of many thousands. What visibility loss
are you talking about?

saulius@lokys labels-in-subversion/ > svn pl -v wc/ | grep VER-1

greps all releases of version 1, and so on.

The label interface just needs to provide 'svn-labels --list' functionality,
to list all labels.

Dr. Saulius Gra┼żulis
Institute of Biotechnology
Graiciuno 8
LT-02241 Vilnius
Lietuva (Lithuania)
fax:          (+370-5)-2602116
tel.: office: (+370-5)-2602556
      mobile: (+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 Mon Feb 27 14:41:23 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.