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

Re: Moving a TAG

From: David F. Newman <dnewman_at_epnet.com>
Date: 2004-11-05 15:39:40 CET

On Thursday 04 November 2004 19:02, Steve Williams wrote:
> David F. Newman wrote:
> > I want to move a tag from a file from on revision to the same file in
> > another revision, but I can't figure out how to do it in a single commit.
> >
> > For example, say I tagged revision 6 of main.c as 1.0. But I made a
> > mistake and it shoud've been revision 7.
> >
>
> Merge the changes between trunk r6 and r7 of main.c to the tagged
> version of main.c.
>
> svn merge -r 6:7 $(REPO)/trunk/main.c
> svn commit -m "Merging r7 into tag"

This is almost equivalent, but not quite. The merge causes $Id$ to be
expanded to the HEAD revision when commited instead of 7 which would be the
case in deleting and re-copying.

-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 5 15:40:39 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.