Discussion:
Help with cvs checkout
(too old to reply)
h***@gmail.com
2006-02-16 09:56:29 UTC
Permalink
I keep getting errors when trying to list or checkout from cvs.
Any ideas how I can troubleshoot / resolve this?

cvs -d :pserver:***@myhost:/cvs ls
cvs [ls aborted]: server does not support ls

$ cvs -d :pserver:***@myhost:/cvs checkout MyPackage
-f server: cannot find module `MyPackage' - ignored
cvs [checkout aborted]: cannot expand modules

I've already run out of ideas and I really need your help.

Thanks..
Hat
Jim Hyslop
2006-02-16 14:10:11 UTC
Permalink
Post by h***@gmail.com
I keep getting errors when trying to list or checkout from cvs.
Any ideas how I can troubleshoot / resolve this?
cvs [ls aborted]: server does not support ls
'cvs ls' is only supported on the Feature branch (1.12.*). Sounds like
your server is running 1.11.something (issue the command 'cvs version'
to find out for sure).
Post by h***@gmail.com
-f server: cannot find module `MyPackage' - ignored
cvs [checkout aborted]: cannot expand modules
I've already run out of ideas and I really need your help.
Is there a top-level directory in your repository called MyPackage, or
is there an entry in $CVSROOT/CVSROOT/modules named MyPackage? You can
get a listing of the contents of the modules file by issuing the command
'cvs co -c'.

- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
Todd Denniston
2006-02-16 14:19:57 UTC
Permalink
Post by h***@gmail.com
I keep getting errors when trying to list or checkout from cvs.
Any ideas how I can troubleshoot / resolve this?
cvs [ls aborted]: server does not support ls
-f server: cannot find module `MyPackage' - ignored
cvs [checkout aborted]: cannot expand modules
I've already run out of ideas and I really need your help.
Thanks..
Hat
ls is only available in CVSNT and in cvs-1.12.X
http://ximbiot.com/cvs/manual/cvs-1.12.13/cvs_16.html#SEC161

I think you are using CVSNT, so the other question is likely answered
somewhere found at:
http://www.google.com/search?hl=en&lr=&q=%22server%3A+cannot+find+module%22+site%3Awww.cvsnt.org&btnG=Search

I don't find an error message in the docs at ximbiot.com that contains the
phrase "server: cannot find module", so it looks more like you are using CVSNT
at least as a client.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
Mark D. Baushke
2006-02-16 15:10:39 UTC
Permalink
Post by h***@gmail.com
I keep getting errors when trying to list or checkout from cvs.
Any ideas how I can troubleshoot / resolve this?
cvs [ls aborted]: server does not support ls
-f server: cannot find module `MyPackage' - ignored
cvs [checkout aborted]: cannot expand modules
I've already run out of ideas and I really need your help.
The command:

cvs -d :pserver:***@myhost:/cvs rlog -h -R .

should give you a complete list of the files in your repository
including all of the top-level directories (cvs log: Logging <directory>).

Enjoy!
-- Mark
Jim Hyslop
2006-02-17 13:41:54 UTC
Permalink
Post by Todd Denniston
I don't find an error message in the docs at ximbiot.com that contains
the phrase "server: cannot find module", so it looks more like you are
using CVSNT at least as a client.
Well, don't forget that Appendix F.1 is a /partial/ list of error messages.

The "server: " part is automatically prefixed by the error() function,
and indicates that the error message was generated by the server.

Grepping the CVS source code:

$ grep 'cannot find module' *.c
modules.c: error (0, 0, "cannot find module `%s' - ignored", mname);

- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management

Loading...