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

Re: Mnemonic names for revisions?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-09-10 17:48:17 CEST

On Fri, 2004-09-10 at 09:43, Katarina WONG wrote:
> On Thu, 09 Sep 2004 12:23:12 +0200, Wolfgang Fritz
> <wolfgang.fritz@keymile.com> wrote:
>
> >
> > Yes, I will have to do sth like this to make the "subversion way" of
> > tagging safe. But I would like it more if I could avoid it in the first
> > place. That's what my original question was about.
> >
>
> I completely agree with you Wolfgang on this. Subversion definitely lacks
> a lightweight keyword tagging mechanism.
>
> Let's lobby for its inclusion in a future release ! :)
>
> In the meantime, how about using a simple text file containing the mapping
> between revision numbers and friendly names ? As you said, thanks to
> global repository versionning, each version is in fact a tag, sadly
> numerical only.
>
> I am about to propose this approach in our repositories, instead of
> (heavy) copies.
>
> Any comment on this ?

You can set arbitrary unversioned properties on revisions already. It's
exactly what you guys want. Go ahead and set "mytag = BLAH" on any old
revision.

The only problem is that server doesn't actually know how to search or
index revision-properties. (We have plans to add that someday.) So
right the only way to find a particular revision with a particular
property name/value is to write a script that loops over all revnums and
does a 'svn propget mytag --revprop -rN'. That's a lot of network
requests.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 10 17:51:34 2004

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.