[PLUG] CVS -- list all files not in the repository

Galen Seitz galens at seitzassoc.com
Thu Sep 16 19:29:02 PDT 2004


Randall Lucas <rlucas at tercent.com> wrote:

> Hi folks,
> 
> How can I get CVS to tell me recursively all the files in a project
> sandbox that aren't yet added to the repository?  It seems like
> sometimes I get a "? filename.ext", which I could grep out of STDERR,
> but sometimes not.
> 
> Surely there is a CVS flag for this?
> 

I don't know if this is the best way, but

  cvs -n update | grep ^\? > newfiles.txt

should do what you want.


galen




More information about the PLUG mailing list