Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CVS remote tagging

Tags:

cvs

I want to remotely tag a CVS archive for a given date and time, this seems to be supported by the -D parameter but I can only find examples of the format to use for dates:

cvs -d :pserver:server:/repo rtag -D 20081121 module

Dates seem to take the format of YYYYMMDD but I can't seem to work out the format for times, YYYYMMDDHHMM gets the following error:

cvs [rtag aborted]: Can't parse date/time: 200811210000
like image 930
Ray Hayes Avatar asked Dec 18 '25 17:12

Ray Hayes


1 Answers

Use the ISO 8601 date format (CCYY-MM-DD), for example 2008-11-21. Add quotes if it contains spaces, for example: "2008-11-21 00:00".

There are other allowed date formats. See http://cvsbook.red-bean.com/, page 67 of the pdf version.

like image 127
wimh Avatar answered Dec 21 '25 22:12

wimh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!