info-cvs
[Top][All Lists]
Advanced

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

CVSROOT/modules file doc


From: Ross Patterson
Subject: CVSROOT/modules file doc
Date: Fri, 5 Dec 2003 15:47:51 -0500
User-agent: KMail/1.4.3

http://www.cvshome.org/docs/manual/cvs-1.12.3/cvs_18.html#SEC162 describes how 
to exclude directories from a module.  It says:

        C.1.4 Excluding directories 

        An alias module may exclude particular directories from other modules by
        using an exclamation mark (`!') before the name of each directory to be
        excluded. 

        For example, if the modules file contains: 
        
                exmodule -a !first-dir/sdir first-dir

        then checking out the module `exmodule' will check out everything in
        `first-dir' except any files in the subdirectory `first-dir/sdir'.

What it doesn't say is that this only works when the exclusions are listed 
before the directories they apply to.  So "exmodule -a first-dir 
!first-dir/sdir" checks out everything, including the contents of 
first-dir/sdir.  Yeah, it's *implied* by the example, but it would be more 
correct to say:

        An alias module may exclude particular directories from other modules by
        using an exclamation mark (`!') before the name of each directory to be
        excluded.  Directories to be excluded must be listed before the modules 
in
        which they are contained.
-- 
Ross A. Patterson
Chief Technology Officer
CatchFIRE Systems, Inc.
5885 Trinity Parkway, Suite 220
Centreville, VA  20120
(703) 563-4164





reply via email to

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