[Top][All Lists]

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

Re: Managing a project in multiple directories?

From: Ted Stern
Subject: Re: Managing a project in multiple directories?
Date: Tue, 03 Jan 2006 11:28:16 -0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On  3 Jan 2006 at 11:05 UTC-0800, address@hidden wrote:
> Hi,
> The project in question does not have a single root directory. Although
> the bulk of the files live in /var/www (and *only* project-related
> files are in there), some critical ones live in /etc and other
> directories (and in most cases there are non-project files in these
> directories). Effectively, the project consists of the entire
> filesystem, with huge chunks (/tmp, /dev, /bin, ...) ignored.
> The question is, how to convince CVS to treat this project as a single
> unit: eg when checking out, I don't want to say 'cvs checkout proj' and
> have the entire project filesystem dumped into ./proj; rather the
> checked out files should be created with their correct absolute paths.
> I'm not entirely sure that CVS is even the right tool for this job...
> Any suggestions?

Does the CVSROOT/modules file not work for you?

You probably want a module alias like this:

     proj -a var/www \
             etc/other \

The only thing you need to remember is to 'cd /' before checking out
proj.  CVS doesn't handle absolute paths.

The philosophical question, I can't deal with.  Maybe you want to try

 dodecatheon at gmail dot com
 Frango ut patefaciam -- I break so that I may reveal

reply via email to

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