[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: cvs diff - new files
From: |
Greg A. Woods |
Subject: |
RE: cvs diff - new files |
Date: |
Thu, 19 Jun 2003 12:11:24 -0400 (EDT) |
[ On Thursday, June 19, 2003 at 20:10:11 (+0530), Jayashree wrote: ]
> Subject: RE: cvs diff - new files
>
> I tried -N option with cvs diff.
> It still does not spot files created
> locally.
You have to "cvs add" new files to CVS before it'll know about their
existance and thus be able to report their imminent creation with the
likes of "cvs diff -N".
You can find a list of files that CVS doesn't know anything about with
cvs -n -q update | awk '$1 == "?" {print $2}'
If you want to see a list of all the files that CVS doesn't know
anything about, _and_ include all of those it is ignoring:
cvs -n -q update -I ! | awk '$1 == "?" {print $2}'
--
Greg A. Woods
+1 416 218-0098; <address@hidden>; <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>