Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
Hello, I just came about something rather odd with the update to date/time command (cvs up -D). It seems to request local (client or server) time rather than UTC. Check out the sequence at the end of the message and note the difference between the Sticky Date line in the status and the preceding cvs update -D option. With a (UTC) 'date: 2005/12/05 13:00:49' for rev 1.3, I expected an update command of 'cvs up -D "2005/12/05 11:01"' to retrieve rev 1.2. But instead, it set the sticky date/time to (UTC) '2005.12.05.13.01.00', which is still rev 1.3. Only when I set the date/time of the -D option to a /local/ time (don't know whether server or client) before the corresponding local revision date/time, it updates correctly. My client and server are in timezone UTC-2. Is this as designed (that is, am I supposed to use local time for the update -D option)? If so, what local time (client or server)? Thanks, Gerhard p:\gerhard\test>cvs ver Client: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2151 (client/server) Server: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2151 (client/server) p:\gerhard\test>cvs log "test&.txt" RCS file: /projects/Gerhard/Test/test&.txt,v Working file: test&.txt head: 1.3 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: ---------------------------- revision 1.3 date: 2005/12/05 13:00:49; author: gfiedler; state: Exp; lines: +1 -0; kopt: kv; commitid: aec43943a0042d1; filename: test&.txt; date test ---------------------------- revision 1.2 date: 2005/11/25 14:06:14; author: gfiedler; state: Exp; lines: +1 -0; kopt: kv; commitid: 5fc43871a55678e; filename: test&.txt; 1 test commit ---------------------------- revision 1.1 date: 2005/11/25 00:56:36; author: gfiedler; state: Exp; kopt: kv; commitid: 95c438661430b32; filename: test&.txt; *** empty log message *** ============================================================================= p:\gerhard\test>cvs up -D "2005/12/05 11:01" "test&.txt" p:\gerhard\test>cvs status "test&.txt" =================================================================== File: test&.txt Status: Up-to-date Working revision: 1.3 Repository revision: 1.3 /projects/Gerhard/Test/test&.txt,v Expansion option: kv Commit Identifier: aec43943a0042d1 Sticky Tag: (none) Sticky Date: 2005.12.05.13.01.00 Sticky Options: (none) Merge From: (none) p:\gerhard\test>cvs up -D "2005/12/05 11:00" "test&.txt" P test&.txt p:\gerhard\test>cvs status "test&.txt" =================================================================== File: test&.txt Status: Up-to-date Working revision: 1.2 Repository revision: 1.2 /projects/Gerhard/Test/test&.txt,v Expansion option: kv Commit Identifier: 5fc43871a55678e Sticky Tag: (none) Sticky Date: 2005.12.05.13.00.00 Sticky Options: (none) Merge From: (none)