[Top][All Lists]

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

Re: checking out a module with files from other modules

From: eranlevi
Subject: Re: checking out a module with files from other modules
Date: Mon, 20 Aug 2007 10:20:53 -0700 (PDT)


This will be a problem for me. I'm moving Pvcs to Cvs and the developers
will not like the fact that they have new modules names. Is there any
workaround to solve that?


Mark E. Hamilton wrote:
> eranlevi wrote:
>> Hi,
>> Thanks for the replay.
>> I did something a little bit different. Basically, I need some files from
>> dir2/other1_dir to be under a certain directory that is under dir1 and
>> some
>> other files from dirs/other2_dir to be under another directory that is
>> under
>> dir1.
>> What I did was:
>> test1  -d dir1/another1_dir  dir2/other1_dir  file1  file2...
>> test2  -d dir1/another2_dir  dir2/other2_dir  file3  file4...
>> test  test  &test1  &test2
>> The checkout output looked very good but I couldn't find files 1-4 under
>> dir1 :-(
>> What I did wrong?
> The problem is that the 'test' module is an ampersand module, so it 
> created a sub-directory named 'test' which contains
> test/dir1/another1_dir/file1
> test/dir1/another1_dir/file2
> test/dir1/another2_dir/file3
> test/dir1/another2_dir/file4
> ...
> See this;
> If you want the top-level module in your working directory to be 'dir1' 
> then you should use an alias module instead, like this:
> test -a dir1  test1  test2
> Note two things:
>     1. If an alias module has the same name as the top-level directory 
> you'll get an infinite loop error, so the module name must be different 
> than the directory name; that's why my example uses 'test' and 'dir1'. 
> (I don't know if this is a bug or expected behavior; perhaps the CVS 
> gurus on the list can answer that.)
>     2. You must be sure to name your main directory (dir1) in the alias 
> module first. If you don't the dir1/CVS/Repository file will be set to 
> dir2 rather than dir1, and then you will not be able to check out dir1 
> itself.
> -- 
> ----------------
> Mark E. Hamilton
> Orion International Technologies, Inc.
> Sandia National Laboratory, NM.
> 505-844-7666

View this message in context:
Sent from the Gnu - Cvs - Info mailing list archive at

reply via email to

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