info-cvs
[Top][All Lists]
Advanced

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

Problems with modules


From: Mark E. Hamilton
Subject: Problems with modules
Date: Fri, 15 Sep 2006 12:29:08 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.7.12) Gecko/20050920

All,

I'm having a strange problem with modules. Our repository contains top-level directories which contains both files and sub-directories:

playground/source.C
playground/source.h
playground/src/...
playground/include/...
playground/rtest/...

The rtest sub-directory has grown to the point that the developers no longer want to have it checked out when the do 'cvs checkout playground'. The first approach I tried to exclude this directory was to define an alias module:

playground -a !playground/rtest playground

This doesn't work, however, and generates this error.

cvs checkout: module `playground' in modules file contains infinite loop


My next approach was to create a module like this:

playground_full -d playground playground
playground -a !playground/rtest playground_full

This seemed to work fine, until I tried to check out something that didn't exist. The first example shows that checkout correctly ignored the playground/rtest directory. However, I expected the second checkout to fail with the same error that the third example had.

# Example 1
sahp6613% cvs -d :ext:<repos>:/cvsroot/playground checkout playground
cvs checkout: Updating playground
U playground/test.dat
cvs checkout: Updating playground/include
cvs checkout: Ignoring playground/rtest
cvs checkout: Updating playground/src
cvs checkout: Updating playground/subdir

# Example 2
sahp6613% rm -rf playground
sahp6613% cvs -d :ext:<repos>:/cvsroot/playground checkout playground/blarg
cvs checkout: Updating playground
U playground/test.dat
cvs checkout: Updating playground/include
cvs checkout: Ignoring playground/rtest
cvs checkout: Updating playground/src
cvs checkout: Updating playground/subdir

# Example 3
sahp6613% cvs -d :ext:sourceforge:/cvsroot/playground checkout playdoh/blarg
cvs server: cannot find module `playdoh/blarg' - ignored
cvs [checkout aborted]: cannot expand modules


Is this broken, or am I doing something wrong with my module definitions?

--
----------------
Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.
505-844-7666





reply via email to

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