[cvsnt] cvs rcsfile rcsdiff -r 1.2 -r 1.3 -u gives output with date info that is a month in the past.

Mike Wake mike.wake at thales-tts.com
Tue Apr 5 19:32:29 BST 2005


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.


Hi All,

Using cvsnt v2.0.58d on linux and executing the following command from 
the commandline in order to simulate what viewcvs used to generate a 
difference between two versions.

cvs rcsfile rcsdiff -r 1.2 -r 1.3 -u /home/cvs/CVSREPOS/test/test.txt,v

gives me a unified diff output with erronous dates.  The month reported 
is one month prior to month that the actual changes took place. Hence 
ViewCVS's display of these dates are a month out.

===================================================================
RCS file:
/home/cvs/CVSREPOS/test/test.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -c -r1.2 -r1.3
*** test.txt 2005/01/02 16:08:39     1.2
--- test.txt 2005/01/07 14:17:55     1.3


cvs diff -r 1.2 -r 1.3 -c test.txt
on a sandbox containing a checked out version of text.txt gives
Index: a380_cvs_mirror_cron_job.sh
===================================================================
RCS file:
/home/cvs/CVSREPOS/test/test.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -c -r1.2 -r1.3
*** a380_cvs_mirror_cron_job.sh 2 Feb 2005 16:08:39 -0000       1.2
--- a380_cvs_mirror_cron_job.sh 7 Feb 2005 14:17:55 -0000       1.3


Can anyone else confirm or deny this?

Cheers
Mikew



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook