info-cvs
[Top][All Lists]
Advanced

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

Re: Ignoring everything *but* a list of flies


From: Mike Ayers
Subject: Re: Ignoring everything *but* a list of flies
Date: Thu, 05 Sep 2002 00:58:23 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020721

Nuno Nunes wrote:

I was wondering what is the best way to do something that I cannot find 
documentation for (maybe I haven't looked deep enough?).
I want to have cvs keep track of some files in a directory where I will have a 
lot of other files appear.
The problem is that of course I only want CVS to consider the files it keeps 
track of and I want it to ignore all the rest.
This is something similar to what .cvsignore does only not quite: In the .cvsignore file 
I can put sh-style patters for files to be ignored but, since I don't know what kind of 
files will appear in this directory, I want to implement a behaviour similar to 
.cvsignore but where I can say "ignore everything except files that match these 
patterns".
Is there any (standard) way of doing this?

Am I confused? The last I looked, this was the default behavior for CVS, provided you don't do something like `cvs add *`. That is, CVS will see those other files, but will ignore them, since they don't exist in the repository.


/|/|ike






reply via email to

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