info-cvs
[Top][All Lists]
Advanced

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

Re: checking out a module with files from other modules


From: Mark E. Hamilton
Subject: Re: checking out a module with files from other modules
Date: Mon, 20 Aug 2007 12:33:09 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.5) Gecko/20060726 Red Hat/1.0.3-0.el4.1 SeaMonkey/1.0.3

eranlevi wrote:
Hi,

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?

Well, you could rename of the top-level directories in the repository, and then put the original names (ie, what the users want to check out) into the modules file, and use the -d option to rename them on checkout. Suppose you renamed the top-level directory 'dir1' to 'dir1.d', and defined your modules like this:

dir1 -d dir1 dir1.d
dir2 -d dir2 dir2.d
test1  -d dir1/another1_dir  dir2/other1_dir  file1  file2...
test2  -d dir1/another2_dir  dir2/other2_dir  file3  file4...
test -a dir1 test1  test2

Then

cvs checkout dir1

would do what your users would expect, and

cvs checkout test

would check out the dir1 and dir2 sources into dir1 like you want.

--
----------------
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]