info-cvs
[Top][All Lists]
Advanced

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

Re: CVS Update Behaviour


From: Thomas S. Urban
Subject: Re: CVS Update Behaviour
Date: Thu, 21 Feb 2002 17:46:12 -0800
User-agent: Mutt/1.3.21i

On Thu, Feb 21, 2002 at 20:00:23 -0500, David Fuller sent 1.5K bytes:
> Colm Murphy wrote:
<snip and reformat>
> >directory. This is setup by defining a module to contain only certain 
> >files.
> >
> >All is fine until the developer does an cvs update.
> >The current behaviour is that all existing files are updated (which is 
> >fine) but all other files in the directory are checked out.
<snip and reformat>
> This is a flaw in CVS that tracks back to the modules file.  While you 
> can set up modules like the one you are talking about, CVS only looks at 
> the modules file when you check out a module.  Update, etc, don't check 
> against the modules file after that.  This is why you are seeing this 
> behavior.

Also note that you can re-checkout the same module, which acts like
update in the sense you want it to - it will update only those files
that are part of the module.  This is also good if you add files/dirs
to the module - it's doesn't prune files and dirs if you remove them
from the module definition, however.  A bit of a work around, but maybe
it will help you.

Scott


-- 
no name, no slogan



reply via email to

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