Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2008 21:04:48 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        John Hein <jhein@timing.com>
Cc:        hackers@freebsd.org
Subject:   Re: cvs tag renaming after repo copy
Message-ID:  <20080227190448.GA50031@kobe.laptop>
In-Reply-To: <18373.33662.614583.231211@gromit.timing.com>
References:  <18373.33662.614583.231211@gromit.timing.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2008-02-27 08:36, John Hein <jhein@timing.com> wrote:
> Can someone point me at a script that does tag renaming
> after a repo copy?

You don't really need a `script' to do this.

Tags in CVS are not versioned, so you can force-tag the repo-copied
files and move the tag to its new place.

For example if you have two files:

    foo.c,v
    bar.c,v

and bar.c,v is a repo-copy of foo.c,v then you move the tag only for the
bar.c file by checking it out, and running:

    cvs tag -f -r 1.2 bar.c

This should force/move the tag to point revision 1.2.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080227190448.GA50031>