This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: CVS tags (was: [new-ra] merge with head)
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 12 Oct 2003 19:48:04 +0200 (CEST)
- Subject: Re: CVS tags (was: [new-ra] merge with head)
- References: <Pine.BSF.4.44.0310121335020.63911-100000@dair.pair.com>
On Sun, 12 Oct 2003, Hans-Peter Nilsson wrote:
> IIRC, if you merge against anything other than a tag you'll lose
> track of removed files. (I hope to be corrected.)
Hmm, if that's indeed the case, we could avoid the "exploding number
of tags" syndrome by keeping a _moving_ tag for such merges, much like
the gcc_latest_snapshot tag we used to have:
# Lay down temporary tag and do the merge.
cvs tag ra-merge-tmp
cvs diff -r ra-merge -r ra-merge-tmp
# Replace temporary tag by merge tag...
cvs tag -f -r ra-merge-tmp ra-merge
# ...and remove temporary tag.
cvs tag -d ra-merge-tmp
If the tag is really only to be used for tagging something like that
should be sufficient, shouldn't it?
Gerald
--
Gerald Pfeifer (Jerry) gerald@pfeifer.com http://www.pfeifer.com/gerald/