CVSROOT/modules file doc

Ross Patterson <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general,gmane.comp.version-control.cvs.bugs
Organization CatchFIRE Systems, Inc.
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.