info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rename all tags chronologically


From: Mark D. Baushke
Subject: Re: rename all tags chronologically
Date: Sun, 10 Sep 2006 21:05:31 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anoop <address@hidden> writes:

> grant.schoep wrote:
> > At 09:50 AM 9/9/2006, you wrote:
> > >Our CVS source has grown for the past 2-3 years and we have a lot of
> > >tags with different names / naming conventions. (around 200 tags, that
> > >it is becoming difficult to manage)
> > >
> > >In order to clean it up, we are thinking of renaming all tags based on
> > >the date it was created. Something like: <project>_<date_of_creation>
> > >
> > >First of all, is this something advisable - renaming all tags in CVS.
> > >Is this doable? Can someone help me with the command to use to rename
> > >all tags in CVS.
> > >
> > >Also, one basic question, we have always tagged the entire project
> > >structure and it takes like 10+ minutes to complete. Is it possible to
> > >tag just a subfolder within the project?
> >
> >
> > I've done things kind of like this, I wouldn't doubt there is a better way.
> > But I've checked out based on a tag, deleted that tag, and the recursivly
> > retagged with new. Its a pain to do, probably worse on large projects. More
> > complex things is usually where I get down and dirty and write scripts to
> > muck with the actual ,v files in CVSROOT.
> 
> 
> So do u mean, there is no OOTB way of renaming tags in CVS?

You could use the 'cvs rtag -r old-tagname new-tagname module-list'
to handle the case of creating new tags that follow the new conventions
with regard to static revision tags.

For branch tags, it is much more tricky. You would need to play
with the 'cvs admin' command and the -n option. Of course, for this
you would need to perform the task on a per-file basis.

Otherwise, you are correct, CVS does not normally have a way to just
rename tags.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQFFBOCKCg7APGsDnFERAnebAKCSbwDu2XTlkNorKgFf4FSNNZYfugCglJPp
ohJqzr1ZcGJ/vKm/HlxGK84=
=oR4u
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]