[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 11:10:56 CET

On Monday 27 February 2006 18:59, Rob van Oostrum wrote:

> Imagine a repository holding a single product like so:
>
> / -> r300 = SOME_TAG
>         /trunk -> r400 = VERSION_2_1
>         /branches
>                 /project1 -> r100 = VERSION_1_0
>                 /project2
>                 /project3 -> r200 = VERSION_2_0
>
> My point was, unless you know exactly where to start looking, how would
> you find VERSION_1_0 without starting at / and traverse down the tree?

The same way how you find it it the current tags/ dir.

More specifically, I would go to the project1/ dir (since I suppose you are
interested in the versions of this project) and type 'svn-labels --list-tags
| grep VER'. I would immediately see all versions of this project.

> If you only look in /, /trunk and every top folder underneath /branches,
> wouldn't you be forcing that repository layout on every user?

No, there will be no requirements for a repo layout.
As you might remember, I suggested to look at:

a) Woking dir
b) WC root
c) repo root

Since every user is free to choose his/her working dir and WC root as they
wish, they will get exactly the labels that are interesting from their
perspective.

The exact search sequence is a matter of futher discussion and refinement, of
course, but roughly I think it is a reasonable point to start.

Three might be a -R option:

svn-labels --list --recursive URL_OR_WC

that would recursively traverse all tree and find _all_ labels on _all_
branches. It would be slow and not for everyday use, but it would find *all*
labels in the repo ;)

> Also, what would the significance of SOME_TAG be?

That is the question to you since you have assigned this tag :). So, what
meaning did you put into it? ;)

-- 
Dr. Saulius Grazulis
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 21:12:08 2006

This is an archived mail posted to the Subversion Users mailing list.