Re: cvs tag renaming after repo copy



On 2008-02-27 08:36, John Hein <jhein@xxxxxxxxxx> 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.

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: CVS is dead
    ... Do you know that a tag isn't necessarily a branch (not even on CVS)? ... You need to branch to be able to commit to a *sticky tag*. ... not even exist in your copy of the repository. ...
    (Fedora)
  • Problems with Eclipse & CVS....
    ... I have been trying to use Eclipses CVS client to TAG my project. ... failed to obtain dir lock in repository ... The server reported an error while performing the "cvs tag" command. ...
    (comp.lang.java.help)
  • Re: 5.3-STABLE ????
    ... >> just technical changes to the CVS repository and that all they do is ... Your 4.x-STABLE boxes will be using the RELENG_4 tag in their sup ... The relationship between the most commonly used CVS tags and OS ...
    (freebsd-questions)
  • Re: cvsup with tag=. on src and upgrading (in general)
    ... >The documentation says tag=. ... >Did I do something wrong with the cvsup file? ... If you want the CVS directories, ... Also note that if you use no-tag, you get the CVS repository. ...
    (freebsd-stable)
  • Eclipse & CVS
    ... I have been trying to use Eclipses CVS client to TAG my project. ... error outputed by Eclipse. ... The server reported an error while performing the "cvs tag" command. ...
    (comp.lang.java.softwaretools)