cvs tag renaming after repo copy
John Hein
jhein at timing.com
Wed Feb 27 19:58:57 UTC 2008
Amol Dharmadhikar i ???? ?? ???? ????? wrote at 11:47 -0800 on Feb 27, 2008:
> On Wed, Feb 27, 2008 at 11:21 AM, John Hein <jhein at timing.com> wrote:
> > I don't want to move the tag... I want to invalidate old tags by
> > renaming them to something else (like foo-1-2-3 -> old_foo-1-2-3).
> >
> > Note that just using cvs to rename a tag (by tagging with the new name
> > and then removing the former name) has issues when you try to do that
> > with branch tags.
[*]
> >
> > Anyway, I'm pretty sure the FreeBSD cvs-meisters run something to
> > invalidate tags after doing a repo copy. That's the information I was
> > looking for.
> >
>
> I dont think you can rename tags using a single command. What you can
> do instead is create a new tag at the same point as the old tag, and
> then delete the old tag.
>
> eg -
> cvs rtag -r old-foo-1-2-3 new-foo-1-2-3 <module_name>
> cvs rtag -d old-foo-1-2-3 <module_name>
Yes, I mentioned that above [*].
You can't do that with branch tags.
You can use cvs admin -n or -N with branch tags.
Anyway, I'm wondering if anyone has a script which iterates over
existing tags and renames them to old_*. Maybe that will make
it more clear what I'm looking for?
More information about the freebsd-hackers
mailing list