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

Re: Updating a Tag

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-06-21 20:08:07 CEST

Robert Pluim <rpluim@bigfoot.com> writes:

> Martin v. Löwis writes:
> > I think deleting the old tag, and then copying again is just the right
> > solution. Notice that cvs wouldn't move a tag without force, either.
>
> Ah well, opinions obviously differ. I like to think of tags as
> immutable representations of a particular state, so moving one seems
> strange to me.

If one deletes a Subversion "tag" and creates a new one with the same
name then no history is lost. The old tag is still accessible through
a revision in which it existed. I'm no CVS expert, but I believe
moving a CVS tag permanently discards history.

If one did adopt a delete/create approach to tags in Subversion then
be aware that it will not be possible to "svn up" a working copy
checkout of the tag when the tag is "moved". Instead it will be
necessary to use "svn switch" to get the new tag.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 21 20:09:11 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.