info-cvs
[Top][All Lists]
Advanced

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

Re: Cygwin CVS: local server: storing existing directory


From: David M. Karr
Subject: Re: Cygwin CVS: local server: storing existing directory
Date: 14 Oct 2001 21:36:48 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor)

>>>>> "David" == David M Karr <address@hidden> writes:

    David> (I sent this to the list on 10/12, but I never saw it.  I have the 
option set
    David> to get my posts sent to me.)

    David> This should be a no-brainer, but I just can't get my CVS setup going.

    David> I'm on Win2k, with Cygwin 1.3.2, CVS 1.11 (the cvs built into 
Cygwin).
    David> I have a directory "$HOME/java/sgs" that I want to store into CVS.
    David> I'm setting my CVSROOT to ":local:/cygdrive/c/cvsroot".
    David> I want to check out "sgs" into "$HOME/java/cvswork/sgs".

    David> Ok, so in the "sgs" directory, I did this:

    David>    cvs import -m "Simple Grading System" sgs intsoft start

    David> This appeared to work, creating lots of "N" and "cvs import: 
Importing ..."
    David> lines.  It did, however, skip importing one source file, because it 
was in a
    David> DIRECTORY named "tags".  I know why that happened.  I'll get that 
file added
    David> once I get everything else working.

    David> Anyway, now in "/cygdrive/c/cvsroot", there is a "sgs" directory 
that contains
    David> all of my RCS files.

    David> So, now I go to "$HOME/java/cvswork" and try to figure out how to 
check it
    David> out.  I'll show a little bit of shell history here, indicating what 
I tried.

    David> ----------------
    David> % pwd
    David> /home/dmkarr/java/cvswork
    David> % cvs checkout sgs
    David> cvs [checkout aborted]: must specify at least one module or directory
    David> % mkdir sgs
    David> % cvs checkout sgs
    David> cvs [checkout aborted]: must specify at least one module or directory
    David> % cd sgs
    David> % cvs checkout sgs
    David> cvs [checkout aborted]: must specify at least one module or directory
    David> ----------------

    David> So what am I doing wrong?

I still could use some help figuring this out.  I even changed my setup
slightly to make it more similar to the example in the CVS manual.

I set my "CVSROOT" to ":local:/c/cvsroot".  I did "cvs init".  This created a
"CVSROOT" directory in "/c/cvsroot".  I then went to $HOME/java/sgs and did
"cvs import -m "Simple Grading System" intsoft/sgs intsoft start".  This
printed lines like this:

-------------
N intsoft/sgs/build.xml
N intsoft/sgs/sgs.txt
N intsoft/sgs/Status
cvs import: Importing /c/cvsroot/intsoft/sgs/bin
N intsoft/sgs/bin/createdataset
N intsoft/sgs/bin/listclasses
N intsoft/sgs/bin/rawinitdb
cvs import: Importing /c/cvsroot/intsoft/sgs/clientsrc
cvs import: Importing /c/cvsroot/intsoft/sgs/clientsrc/com
cvs import: Importing /c/cvsroot/intsoft/sgs/clientsrc/com/intsoft
cvs import: Importing /c/cvsroot/intsoft/sgs/clientsrc/com/intsoft/sgs
cvs import: Importing /c/cvsroot/intsoft/sgs/clientsrc/com/intsoft/sgs/client
N intsoft/sgs/clientsrc/com/intsoft/sgs/client/AppCallbackHandler.java
...
-------------

I then went to "$HOME/cvswork" and did "cvs checkout intsoft/sgs".  It gave me
the following response:

   cvs [checkout aborted]: must specify at least one module or directory

I would appreciate any help in understanding what I'm doing wrong.

-- 
===================================================================
David M. Karr          ; Best Consulting
address@hidden   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)




reply via email to

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