CVS tags (was: [new-ra] merge with head)

Gerald Pfeifer gerald@pfeifer.com
Sun Oct 12 18:13:00 GMT 2003


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/



More information about the Gcc mailing list