[cvsnt] How do you update a sandbox to a specific date and time?

Czarnowski, Aric aczarnowski at unimax.com
Thu Mar 4 15:26:58 GMT 2004


> I tried checking out the source specifying the 
> -D "02/26/2004 19:45:00", however this did not 
> give me the latest versions as of that date and
> time.

That command works for me.  The sticky date is GMT but everything seems
OK under 2.0.27.

--Aric



D:\cvs>cvs co -D "02/26/2004 19:45:00" cvstesting
cvs server: Updating cvstesting
U cvstesting/testfile.txt

D:\cvs>cd cvstesting

D:\cvs\cvstesting>cvs stat testfile.txt
===================================================================
File: testfile.txt      Status: Up-to-date

   Working revision:    1.11
   Repository revision: 1.11    c:/cvs/cvstesting/testfile.txt,v
   Expansion option:    kv
   Commit Identifier:   f443ffdac0a0000
   Sticky Tag:          (none)
   Sticky Date:         2004.02.27.01.45.00
   Sticky Options:      (none)
   Merge From:          (none)

D:\cvs\cvstesting>cvs log testfile.txt

RCS file: c:/cvs/cvstesting/testfile.txt,v
Working file: testfile.txt
head: 1.12
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
----------------------------
revision 1.12
date: 2004/03/04 15:24:42;  author: aczarnowski;  state: Exp;  lines: +2
-0;  ko
pt: kv;  commitid: a3040474a390000;
testing -D date checkout
----------------------------
revision 1.11
date: 2004/01/08 19:14:20;  author: aczarnowski;  state: Exp;  kopt: kv;
commit
id: f443ffdac0a0000;
Testing CVSTEST move to CVS
========================================================================
=====

D:\cvs\cvstesting>dir testfile.txt
 Volume in drive D has no label.
 Volume Serial Number is 087C-F6B2

 Directory of D:\cvs\cvstesting

01/08/2004  01:14 PM               306 testfile.txt
               1 File(s)            306 bytes
               0 Dir(s)   3,577,896,960 bytes free




More information about the cvsnt mailing list