info-cvs
[Top][All Lists]
Advanced

[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: Wed, 04 Jan 2006 09:19:13 -0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On  4 Jan 2006 at 03:50 UTC-0800, address@hidden wrote:
> Thanks very much for your assistance, Mark and Ted. The modules file
> did exactly what we needed; the end result being:
>
> proj -a fetchmail www lib cache named etc
>
> fetchmail -d usr/share/fetchmail fetchmail
> www -d var/www www
> lib -d var/lib lib
> cache -d var/cache cache
> named -d var/named named
> etc -d etc etc
  ^^^^^^^^^^^^^^

The -d flag here is unnecessary, I think.  Do this instead:

     etc       etc

BTW, I recently found out something neat you can do with cvs modules
(works in version 1.11.x).  Try putting trailing comments on each line
following a '#'.  For example,

   proj -a fetchmail www lib cache named etc # *** Checkout under /.

Then try doing this:

        cvs -d path/to/cvsroot checkout -c

Without the end-of-line comments, the checkout -c flag only shows you
the available modules.  But with trailing comments, those comments are
indented on lines following the module:

       proj -a fetchmail www lib cache named etc
               # *** Checkout under /.

Voila, instant TOC documentation for anyone trying to figure out
what's happening in a module, or how a module should be used.

>
>
> ...and doing cvs checkout from /.
>
> Although a configuration management tool is probably more appropriate
> for the general case, in this particular one CVS seems to have given us
> what we needed.
>
> Thanks again!

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