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

Re: Mnemomic names for revisions

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-05-10 02:39:44 CEST

On May 9, 2005, at 7:30 PM, Brian Huddleston wrote:

> Allow me to clarify then.
>
> Revision 1234 can't be changed.
>
> If I have Build_3 = 1234 then Build_3 is effectively immutable.
> That's (narrow) claim I was making below.
>
> If we want to go nuts we can even have:
>
> svnadmin nameMnemonicRevisionDammit Build_3 1235
> Error: You've already used 1235. If you really need to change it
> use --force.
>
> I think that would be nifty swell.
>

The only way to guarantee label immutability is to make it a piece of
versioned metadata attached to the revision. That means the label
would have to be chosen at commit time. I don't think anyone wants
that design; it means that labels couldn't be applied retroactively.

If the design allows labels to be applied retroactively, then it also
necessarily allows labels to be *accidentally* changed. Exactly like
the current implementation of tags.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 10 02:42:20 2005

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