[Top][All Lists]

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

Re: Combining modules in top dir

From: Greg A. Woods
Subject: Re: Combining modules in top dir
Date: Fri, 30 Aug 2002 11:32:40 -0400 (EDT)

[ On Friday, August 30, 2002 at 15:17:12 (+0200), Fabian Cenedese wrote: ]
> Subject: Combining modules in top dir
> I wondered if it is possible to checkout several modules/directories in one
> step preserving the dir structure. If I have two mods mod1 and mod2 I can do:
> cvs co mod1
> cvs co mod2
> Like this I get the same directory structure.
> /mod1
> /mod2
> Then I tried with an ampermod:
> allmods &mod1 &mod2
> But if I checkout allmods I get
> /allmods/mod1
> /allmods/mod2
> Is there a way to prevent allmods? I can only rename it with -d, but not omit.

Ah, _NO_.  Think about it!  You've created a new module.  CVS checks
modules out into directories.  Thus when you check out that module
you'll get a new directory containing its contents.

If all you want is to check out a series of _separate_ modules into the
same place then just do:

        cvs co mod1
        cvs co mod2
        cvs co modN

If you do this often then write a wrapper script that'll combine all the
commands into one.

                                                                Greg A. Woods

+1 416 218-0098;            <address@hidden>;           <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>

reply via email to

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