info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using -D when updating


From: Todd Denniston
Subject: Re: Using -D when updating
Date: Thu, 22 Mar 2007 07:59:56 -0500
User-agent: Thunderbird 1.5.0.7 (X11/20060909)

Hans Schwaebli wrote:
Why doesn't this work?
cvs update -D '22 Mar 2007 9:30:00 +0000' -C -d -P -S -f -R -r HEAD script-resources It says:
  cvs [update aborted]: Can't parse date/time: '22
if I use "" instead of '', it says:
  cvs server: nothing known about script-resources

cvs works with iso 8601 dates:
http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_16.html#IDX218
The manual page does indicate something like
"22 Mar 2007 9:30" or "22 Mar 2007 09:30"
should work, but sticking to
"2007-03-22T09:30:00+00:00" is more likely to work consistently.

be aware of the version(s) of CVS you are running, and be aware of the deltas between 1.11 and 1.12 time handling... _IIRC_ 11 reports times in log and history in UTC, but 12 reports in local time, I am not sure which CVSNT does.
http://ximbiot.com/cvs/manual/cvs-1.12.13/cvs_16.html#IDX238
http://ximbiot.com/cvs/manual/cvs-1.12.13/cvs_16.html#SEC121

http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=iso+8601&submit=Search%21&idxname=info-cvs&max=20&result=normal&sort=score

http://www.w3.org/TR/NOTE-datetime
http://en.wikipedia.org/wiki/ISO_8601


hope this helps.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]