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

Re: status of symbolic names for revision numbers..

From: Bruce Thompson <bruce_at_otherother.com>
Date: 2005-04-21 21:59:23 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My apologies Eitan for the duplicate response, I just now realized I
didn't do a reply-all...

On Apr 21, 2005, at 12:06 PM, Eitan Suez wrote:

> hello,
>
> i recently scanned the users archive and noticed lengthy threads
> back in september on the topic of referencing a revision number by
> name
> or mnemonic. it appears many users (myself included) want such a
> feature.
>
> here are my questions:
>
> a. have any decisions been made by the subversion team regarding
> whether this feature is something worth implementing?
>
> b. if so, does such a feature now exist?
>
> i'm thinking about writing myself a little script (say, 'mysvn') that
> acts as a very thin layer on top of svn to translate tagnames
> to revision numbers.
>
> it would basically work like this:
> 1. mysvn tag [-r revisionnumber] tagname
> -> records the correspondence from tagname to revision number
>
> 2. mysvn update -r tagname
> -> would basically resolve to:
> svn update -r lookuprevisionfor(tagname)
>
> thanks, eitan

Hi eitan,

I think the existing cheap-copy capabilities will give you this. How
would what you propose differ from the following:

svn cp -m "Tagging rev 4432"
http://mymachine.com/repos/Project/trunk:4432
http://mymachine.com/repos/Project/tags/tagname

This creates a branch at the given revision, which will always remain
at that revision as long as no one merges into the copy. It seems to me
that this should satisfy your requirements?

Checking out the tagged version would be:

svn co http://mymachine.com/repos/Project/tags/tagname

Cheers,
Bruce.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCaAYbvnz+pLjsCBYRAsllAJsEtkTNhmDS6fepu8RLz5IVyCs7SACfbQCy
9ewjSrHw9xaIriH4jJCoZA8=
=53Rx
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 21 22:01:13 2005

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.