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

RE: Re: [DESIGN] Aliases? (Was: RE: Re: I, too, miss tags.)

From: Gale, David <David.Gale_at_Hypertherm.com>
Date: 2006-02-24 17:13:43 CET

Méresse Christophe wrote:
>> Gale, David wrote:
>>> Perhaps we could satisfy all of our former CVS-acolytes (myself
>>> included) with a "svn alias" command (or some such), which would
>>> assign a human-readable name to a specific revision. HEAD, PREV,
>>> and the like already exist, but there's currently no way to assign
>>> one of the user's own creation. I'd propose something like:
>>>
>>> svn alias [-force] [-r 21134] NEW_LABEL [path-to-repos]
>>
>> I like this idea.
>
> Could we use this instead:
>
> svn propset label --revprop -r 21134 "NEW_LABEL" [path-to-repos]
>
> This could also be used to set a particular status:
>
> svn propset status --revprop -r 21134 the_status [path-to-repos]
>
> where the_status is for instance: tested, accepted, rejected, smurfed
> or anything you need...
>
> Regards,
> Christophe

I'm not sure what that buys us. Revision properties (which aren't modifiable by default) don't give the behavior I proposed (you couldn't use the labels as -r arguments); and, as far as I'm aware, there's no easy way to list them, so finding a revision with a specific label property would be a challenge. Why would this be a good alternative to my proposal?

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 24 17:20:43 2006

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