Remote CVS Labeling

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

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

The dates seem to accept the format YYYYMMDD, but I can't figure out the format for times, YYYYMMDDHHMM gets the following error:

cvs [rtag aborted]: Can't parse date/time: 200811210000
+3
source share
1 answer

Use the ISO 8601 date format (CCYY-MM-DD), e.g. 2008-11-21. Add quotation marks if they contain spaces, for example: "2008-11-21 00:00".

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

+5
source

All Articles