cvs rtag -r branch -d yesterday my_branch_yesterday (workaround)

Luke Gorrie luke@REDACTED
Tue Feb 28 17:26:59 CET 2006


Howdy,

This is a public service announcement.

CVS does not support tagging on a branch at a certain date:

  $ cvs rtag -r branch -D yesterday my_branch_yesterday mymodule
  cvs [rtag aborted]: -r and -D options are mutually exclusive

but you can achieve the right effect because -r and -D are compatible
with 'cvs update'. You can checkout the right versions and then tag
your working copy:

  mkdir /tmp/work
  cd !$
  cvs co -r branch mymodule
  cvs update -r branch -D yesterday .
  cvs tag mybranch .

That is all.





More information about the erlang-questions mailing list