Sergei Organov wrote: > > "Greg A. Woods" <[EMAIL PROTECTED]> writes: > > > [ On , January 21, 2005 at 20:06:37 (+0300), [EMAIL PROTECTED] wrote: ] > > > Subject: CVS diff and unknown files. > > > > > > Is there a way to include contents of "unknown" files into the 'cvs > > > diff' output? > > > > > > I did try the -N switch but it doesn't seem to do the trick. > > > > You must "cvs add" the files before they can be seen as new. > > > > > I can't 'cvs add' the files as the repository is read-only for me > > > (public read-only repository of an open-source project). > > > > Yes, you can, or at least you should be able to. > > > > "cvs add" does not (and must not :-) contact the server. > > Well, it does :( : > > $ echo dummy > dummy.txt > $ cvs add -m" " dummy.txt > cvs [server aborted]: "add" requires write access to the repository Until the Fix that Greg described late last year is put in, you can (I think) trick cvs at least for files.
***begin cvs_trick_add #! /bin/bash echo " /$1/0/dummy timestamp//" >> CVS/Entries echo " cvs trick added $1 to the Entries file." ***end cvs_trick_add cvs_trick_add dummy.txt -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter _______________________________________________ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs