info-cvs
[Top][All Lists]
Advanced

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

remove directories


From: Schwenk, Jeanie
Subject: remove directories
Date: Tue, 4 Sep 2001 17:08:08 -0700

I need to be able to customize what gets checked out and how it's assembled for differing environments.   This seems pretty basic. 
 
What started this is the contractors we have placed the SAME files in three places originally and kept only one environment updated completely.   We ended up with inconsistent behavior across all environments.  To correct that, I have removed redundant copies and kept the correct up-to-date files from the repository.   This however brings up a different problem.  We need to be able to use TEST and DEV with some of the files from PROD.  The top of the repository looks like this because we have three environments: 
   systema/environments/prod
   systema/environments/dev
   systema/environments/test
 
These three now contain distinct files but ALL environments need the files from systema/environments/prod/lib_ext. 
 
Each env has a lib_ext directory (also contains directories) in the repos because I can't remove them (see 7.3 in the manual).  Isn't there a way around this?  I need to grab the lib_ext dir from prod and plop it into the checked out version of the other two environments.   CVS will not let me do that. 
 
Is it best to just check both sections out independently and then have a script mv the lib_ext to where it needs to be?  I haven't been able to come up with any way to change the repository structure to allow what is needed.  Should I try renaming directories?  All the ideas I've come up with seem brute force ... there must be a better way.  If I could just rid of the pesky directories in the repository, this problem would go away.  Perhaps I am looking at this the wrong way. 
 
Here's the two important lines from the modules file: 
 
PRODLIB -d lib_ext systema/environments/prod/lib_ext
TEST -d test systema/environments/test &PRODLIB 
 
Here's what happens when I try to checkout TEST (which makes sense):
 
cvs checkout: Updating test/lib_ext
cvs checkout: Updating test/lib_ext/ifx_java
cvs checkout: Updating test/lib_ext/ifx_java/lib
cvs checkout: Updating test/lib_ext/ifx_java/proxy
cvs checkout: Updating test/lib_ext/systema
cvs checkout: existing repository /export/cvsroot/systema/environments/test/lib_ext does not match /export/cvsroot/systema/environments/prod/lib_ext
cvs checkout: ignoring module PRODLIB
 
Jeanie


 


 

reply via email to

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