On Wed, 9 Sep 2009, Rich Shepard wrote: > Date: Wed, 9 Sep 2009 09:36:54 -0700 (PDT) > From: Rich Shepard <[email protected]> > To: [email protected] > Subject: [PLUG] CVS Anonymous Checkout > > I use subversion and am not familiar with the subtleties of cvs so I have > not been able to figure out why a checkout request doesn't work. > > The command is: > > cvs -z3 -d:pserver:[email protected]:/cvsroot/pyfuzzy co > > but the result is a failure message: > > sourceforge.net:/cvsroot/pyfuzzy co > cvs [checkout aborted]: must specify at least one module or directory > > There are several directories on the site; one is doc/. But, when I append > that directory name: > > sourceforge.net:/cvsroot/pyfuzzy co doc > cvs server: cannot find module oc' - ignored > cvs [checkout aborted]: cannot expand modules > > Is there a way to get the entire trunk (directories, modules, and other > files) in one fell swoop? > > Rich
In CVS, there is the repository, and there is the module. Your command is missing the module name. cvs -z3 -d:pserver:[email protected]:/cvsroot/pyfuzzy co /cvsroot/pyfuzzy is the repository. The repository is just the directory on the CVS server which contains stuff. That stuff is called "modules". A module could be as simple as the name of a top-level directory within the repository. For instance, let's say the CVS server contains a file: /cvsroot/pyfuzzy/projects/fuzzyproj/fuzzyproj.py /cvsroot/pyfuzzy is the repository. That leaves 3 choices for modules: - projects (would give you everything) - projects/fuzzyproj (would give you just projects/fuzzyproj; if there were more items within projects/, you would not get them) - projects/fuzzyproj/fuzzyproj.py (would give you just one file!) As you can see, modules aren't some magic unit of division in CVS. It's simply a (not too great) nomenclature for "any path under the repository". Your command should look something like: cvs -z3 -d:pserver:[email protected]:/cvsroot/pyfuzzy co <some_module> where <some_module> needs to be looked up on the project's web page. Carlos _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
