[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Module aliases
From: |
Jim.Hyslop |
Subject: |
RE: Module aliases |
Date: |
Thu, 29 Apr 2004 10:33:12 -0400 |
address@hidden wrote:
> On Thursday 29 April 2004 16:24, Jim.Hyslop wrote:
[...]
> > subproject-b project/b project/aa project/bb
> The problem with your fix is that aa and bb are 2 of many
> files.... The
> problem is mine because I was not clear on what I needed.
>
> I have many files in the root directory and want to get them
> all...
Ah, in that case, move directories a and c to a different location in the
repository, create entries for each of them in the modules file, and add
them as ampersand modules in the main project entry. Something like:
project_a -d a project_relocated/a
project_c -d c project_relocated/c
subproject-b -d project project
project -d project &subproject-b &project_a &project_b
should do it. NOTE: Make sure anyone using these directories checks in any
outstanding changes, releases their local copy, then does a fresh checkout
when the move is complete.
> I also DO want an alias because I want the name of the
> checked out directory
> to be "project", not "subproject-b".
No, as I said, you don't want an *alias*, you want a *subset*. The two
concepts are different. Setting the name of the checked-out directory is
easily fixed using the -d option.
--
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)