info-cvs
[Top][All Lists]
Advanced

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

RE: Cannot Diff Added File


From: Arthur Barrett
Subject: RE: Cannot Diff Added File
Date: Fri, 25 Feb 2005 10:09:31 +1100

Jason,

Are you using CVS on Windows or CVSNT.  If you have installed WinCVS
then you are most likely using CVSNT.  You can check using "cvs -v" or
"cvs version" will show you the client and server version.

The correct place to ask technical questions about CVSNT is the CVSNT
newsgroup:
news://news.cvsnt.org/support.cvsnt
or
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
 
I've tried this on the latest 2.5.01 release candidate 1 and it works
fine:
H:\cvsjunk\rogers\test1>notepad ruleset.properties

H:\cvsjunk\rogers\test1>cvs add ruleset.properties
cvs server: scheduling file `ruleset.properties' for addition
cvs server: use 'cvs commit' to add this file permanently

H:\cvsjunk\rogers\test1>cvs diff -N ruleset.properties
Index: ruleset.properties
===================================================================
RCS file: ruleset.properties
diff -N ruleset.properties
0a1,2
> this is a test
> this is a test

H:\cvsjunk\rogers\test1>cvs version
Client: Concurrent Versions System (CVSNT) 2.5.01 (Travis) Build 1882
(Release C
andidate 1) (client/server)
Server: Concurrent Versions System (CVSNT) 2.5.01 (Travis) Build 1882
(Release C
andidate 1) (client/server)

Regards,
 

Arthur Barrett


> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden
> ] On Behalf Of Jason Sicotte
> Sent: Friday, 25 February 2005 9:27 AM
> To: address@hidden
> Subject: Cannot Diff Added File
> 
> 
> I am unable to generate a patch under Windows for new files 
> that have been marked as added:
> 
> cvs diff -N ruleset.properties
> Index: ruleset.properties 
> ===================================================================
> RCS file: ruleset.properties
> diff -N ruleset.properties
> cvs diff: nul: Invalid argument
> 
> Is there a way around this error?
> 




reply via email to

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