[Cvsnt] Using cvs diff -D "date" when working on a branch

Marcus Picasso marcus.picasso at nospamkolumbus.fi
Wed May 22 12:46:32 BST 2002


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,

this is probably not CVSNT -specific, but anyone know if this is supposed to
work? I get the following error, when trying to do a diff with a given date,
when working on a branch:

$ cvs diff -D "yesterday" foo.c
cvs server: foo.c is a new entry, no comparison available

I'm using CVSNT 1.11.1.3, with command line client. Here is more info about
the file I was trying to diff:

$ cvs log foo.c
RCS file: d:/repository/project/Attic/foo.c,v
Working file: foo.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
        SOME-TAG-NAME-DEVE: 1.1.2.1.0.2
        SOME-TAG-NAME-DEVD-3: 1.1.2.1
        SOME-TAG-NAME-DEVD-2: 1.1.2.1
        SOME-TAG-NAME-DEVD: 1.1.0.2
keyword substitution: kv
total revisions: 3;     selected revisions: 3
description:
----------------------------
revision 1.1
date: 2002/05/13 12:50:58;  author: me;  state: dead;
branches:  1.1.2;
file foo.c was initially added on branch SOME_TAG_NAME-DEVD.
----------------------------
revision 1.1.2.2
date: 2002/05/22 10:42:54;  author: you;  state: Exp;  lines: +26 -3
no message
----------------------------
revision 1.1.2.1
date: 2002/05/13 12:50:58;  author: me;  state: Exp;  lines: +496 -0
*** empty log message ***
============================================================================
=

$ cvs status foo.c
===================================================================
File: foo.c             Status: Up-to-date

   Working revision:    1.1.2.2
   Repository revision: 1.1.2.2 d:/repository/project/Attic/foo.c,v
   Sticky Tag:          SOME-TAG-NAME-DEVD (branch: 1.1.2)
   Sticky Date:         (none)
   Sticky Options:      (none)

$ date
Wed May 22 14:36:10  2002

$ cvs diff -D "yesterday" foo.c
cvs server: foo.c is a new entry, no comparison available

Thanx in advance,
-Marcus.




_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs




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