[cvsnt] Re: Best way to check out missing subdir?

Gerhard Fiedler lists at connectionbrazil.com
Fri Jul 21 18:14:08 BST 2006


Glen Starrett wrote:

> Bo Berglund wrote:
>> Say I have a module checked out that originally contained just one
>> subdir and now people have added a few more.
>> In my sandbox I only have the original subdir but now I want one or
>> more of the new ones, but I don't want all of them (because some
>> contain very large files that I cannot handle through my dialup link).
>> What is the best way to accomplish this (cvsnt command line or through
>> WinCvs dialogs)?
> 
> I'd say either:
> 
> (in parent of sandbox X)
> cvs -d {same CVSROOT} co X/Y
> 
> Or
> 
> (in sandbox X)
> cvs co -d Y X/Y
> 
> I believe that will work as expected and not have side effects, but it's 
> not thoroughly tested.

If you need the module name, that's "cvs ls". 

I believe the Suite version of March-Hare's WorkspaceViewer allows checking
out a module from its GUI display of the repository contents.


I'd like to mention here the one feature I'm still missing from the times I
worked with VSS: what they call "cloaking". This basically allows users to
list (locally, in the sandbox) files and directories they don't want from
the server. With that, you could list the few exceptions you don't want and
use the update -d option to get all others. Something similar doesn't seem
to be possible with cvs(nt). You either get it all, or you need to do
something manually, like maintaining modules definitions or verify the
repository and check out new directories (with the methods listed above).

Gerhard



More information about the cvsnt mailing list