This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]