Discussion:
Problem checking out newly created module
Mohit Kakkar
2009-12-02 19:49:38 UTC
Permalink
Hi,

I created a module by mkdir'ing it then chowing it to cvs
Then I created entry in modules and modules,v and still I cannot check
it out!

What is going on?
--
Mohit Kakkar
Systems Administrator
Systemware Innovation
416-932-4643


--
---------------------------------------------------------------------------
NOTICE OF CONFIDENTIALITY:
This email and any attachments may contain information that is privileged,
and/or confidential, and is meant only for the intended recipient(s).If
the reader of this email is not the intended recipient, you are hereby
notified that any unauthorized dissemination, distribution or reproduction
of this email, or its attachments, is strictly prohibited. If you have
received this email in error, please advise the sender immediately and
destroy the e-mail and any attachments.
---------------------------------------------------------------------------
--
Larry Jones
2009-12-02 22:32:18 UTC
Permalink
Post by Mohit Kakkar
I created a module by mkdir'ing it then chowing it to cvs
Then I created entry in modules and modules,v and still I cannot check
it out!
What, exactly, does "cannot check it out" mean? If there aren't any
files in the directory, there's nothing to check out -- CVS only manages
files, not directories (directories are just containers for files).
--
Larry Jones

Even if lives DID hang in the balance, it would depend on whose they were.
-- Calvin
Mohit Kakkar
2009-12-02 22:48:33 UTC
Permalink
Hi,

I have a directory called /var/JKMS

and in it I have a test directory called mohit which is supposed to me a
module.

I placed dummy files in it but when I attemtpt to checkout I get:


cmd: "cvs" -d ":pserver:***@edison.swi.com:/var/STCVS" co -P
"mohit"
cvs checkout: CVSROOT requires a path spec:
cvs checkout: :(gserver|kserver|
pserver):[[user][:password]@]host[:[port]]/path
cvs checkout: [:(ext|server):][[user]@]host[:]/path
cvs checkout: warning: skipping invalid entry in password file at line
23
cvs checkout: CVSROOT requires a path spec:
cvs checkout: :(gserver|kserver|
pserver):[[user][:password]@]host[:[port]]/path
cvs checkout: [:(ext|server):][[user]@]host[:]/path
cvs checkout: warning: skipping invalid entry in password file at line
24
cvs checkout: Updating mohit
Post by Larry Jones
Post by Mohit Kakkar
I created a module by mkdir'ing it then chowing it to cvs
Then I created entry in modules and modules,v and still I cannot check
it out!
What, exactly, does "cannot check it out" mean? If there aren't any
files in the directory, there's nothing to check out -- CVS only manages
files, not directories (directories are just containers for files).
--
Mohit Kakkar
Systems Administrator
Systemware Innovation
416-932-4643


--
---------------------------------------------------------------------------
NOTICE OF CONFIDENTIALITY:
This email and any attachments may contain information that is privileged,
and/or confidential, and is meant only for the intended recipient(s).If
the reader of this email is not the intended recipient, you are hereby
notified that any unauthorized dissemination, distribution or reproduction
of this email, or its attachments, is strictly prohibited. If you have
received this email in error, please advise the sender immediately and
destroy the e-mail and any attachments.
---------------------------------------------------------------------------
--
Jim Hyslop
2009-12-03 01:51:00 UTC
Permalink
Post by Mohit Kakkar
Hi,
I have a directory called /var/JKMS
and in it I have a test directory called mohit which is supposed to me a
module.
"mohit"
Eliminate the colon between ".com" and "/var".

- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
Mohit Kakkar
2009-12-03 22:03:33 UTC
Permalink
Hi,

I am not putting that colon in the program is (wincvs).

When I tried today I got:

***** CVS exited normally with code 1 ***** cvs
-d :pserver:***@edison.swi.com:/var/STCVS checkout -P -- mohit (in
directory C:\) cvs checkout: cwd=C:\ ,current=C:\ cvs checkout: Updating
mohit cvs checkout: in directory .: cvs checkout: cannot open
CVS/Entries for reading: No such file or directory ***** CVS exited
normally with code 0 *****

What is CVS/Entries?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Mohit Kakkar
Hi,
I have a directory called /var/JKMS
and in it I have a test directory called mohit which is supposed to me a
module.
"mohit"
Eliminate the colon between ".com" and "/var".
- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAksXGYQACgkQLdDyDwyJw+ODAwCgi7iGKQNBy+nxLz1Hd38Ifx5S
r7AAoNCrWUchFNCO5IqVSu/2tfmZzxX7
=a/Hf
-----END PGP SIGNATURE-----
--
Mohit Kakkar
Systems Administrator
Systemware Innovation
416-932-4643
Mohit Kakkar
2009-12-03 22:51:33 UTC
Permalink
maybe the problem is that I am not creating a module correctly...

I just made a directory and then dumped some files in it and set
permissions for everything to cvs,cvs...

And in modules and modules,v I added:
mohit mohit

Funny thing is I can checkout ANY OTHER PREVIOUSLY CREATED MODULE.
Post by Larry Jones
Post by Mohit Kakkar
I created a module by mkdir'ing it then chowing it to cvs
Then I created entry in modules and modules,v and still I cannot check
it out!
What, exactly, does "cannot check it out" mean? If there aren't any
files in the directory, there's nothing to check out -- CVS only manages
files, not directories (directories are just containers for files).
--
Mohit Kakkar
Systems Administrator
Systemware Innovation
416-932-4643
Larry Jones
2009-12-03 22:11:04 UTC
Permalink
Post by Mohit Kakkar
***** CVS exited normally with code 1 ***** cvs
directory C:\) cvs checkout: cwd=C:\ ,current=C:\ cvs checkout: Updating
mohit cvs checkout: in directory .: cvs checkout: cannot open
CVS/Entries for reading: No such file or directory ***** CVS exited
normally with code 0 *****
You're trying to checkout into a directory that already exists, so CVS
is trying to do an update rather than a checkout. But the existing
directory did not come from CVS, so the update fails. You should always
let checkout create a new directory.
Post by Mohit Kakkar
What is CVS/Entries?
It's one of the CVS administrative files:

<http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_2.html#SEC19>
--
Larry Jones

I'm not a vegetarian! I'm a dessertarian. -- Calvin
Mohit Kakkar
2009-12-03 22:21:58 UTC
Permalink
I keep getting the same error message.
It does create a new folder but does not download any of the files in
the module.
Post by Larry Jones
Post by Mohit Kakkar
***** CVS exited normally with code 1 ***** cvs
directory C:\) cvs checkout: cwd=C:\ ,current=C:\ cvs checkout: Updating
mohit cvs checkout: in directory .: cvs checkout: cannot open
CVS/Entries for reading: No such file or directory ***** CVS exited
normally with code 0 *****
You're trying to checkout into a directory that already exists, so CVS
is trying to do an update rather than a checkout. But the existing
directory did not come from CVS, so the update fails. You should always
let checkout create a new directory.
Post by Mohit Kakkar
What is CVS/Entries?
<http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_2.html#SEC19>
--
Mohit Kakkar
Systems Administrator
Systemware Innovation
416-932-4643
Mohit Kakkar
2009-12-03 22:23:41 UTC
Permalink
I am using WINCVS
Post by Mohit Kakkar
I keep getting the same error message.
It does create a new folder but does not download any of the files in
the module.
Post by Larry Jones
Post by Mohit Kakkar
***** CVS exited normally with code 1 ***** cvs
directory C:\) cvs checkout: cwd=C:\ ,current=C:\ cvs checkout: Updating
mohit cvs checkout: in directory .: cvs checkout: cannot open
CVS/Entries for reading: No such file or directory ***** CVS exited
normally with code 0 *****
You're trying to checkout into a directory that already exists, so CVS
is trying to do an update rather than a checkout. But the existing
directory did not come from CVS, so the update fails. You should always
let checkout create a new directory.
Post by Mohit Kakkar
What is CVS/Entries?
<http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_2.html#SEC19>
--
Mohit Kakkar
Systems Administrator
Systemware Innovation
416-932-4643
Larry Jones
2009-12-03 23:18:19 UTC
Permalink
Post by Mohit Kakkar
maybe the problem is that I am not creating a module correctly...
That's at least part of the problem, probably. Have you read the
manual?

<http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_3.html#SEC38>
Post by Mohit Kakkar
I just made a directory and then dumped some files in it and set
permissions for everything to cvs,cvs...
Did you create a directory on the server in an existing repository? If
not, that's completely wrong. Were the "some files" you dumped into it
RCS files? If not, that's completely wrong.
Post by Mohit Kakkar
mohit mohit
That's not necessary (you can checkout either a directory or a module),
but it can be useful.
Post by Mohit Kakkar
Funny thing is I can checkout ANY OTHER PREVIOUSLY CREATED MODULE.
If you're trying to check out an empty module, you must not use the -P
flag to checkout since that will delete the empty directory. Since
you're using WinCVS, you need to go to the Globals tab in the checkout
window and uncheck "Prune empty directories".
--
Larry Jones

OK, there IS a middle ground, but it's for sissy weasels. -- Calvin
Rez P
2009-12-07 23:59:40 UTC
Permalink
You can't create files and folders on the server under the repository path directly and expect them to magically become *,v rcs files.



After you set up the server and sort out your access permissions, then you need to go to your client machine and import or upload (by running the import command) your project into cvs under version control. Once the import command is successful, cvs automatically careates the *,v rcs files and now is aware of the modules. And then you need to move your local non-versioned folder on your client machine out of the way so WinCvs is not obstructed by it. And finally use cvs client(wincvs) to check out the new module.
Date: Wed, 2 Dec 2009 14:49:38 -0500
Subject: Problem checking out newly created module
Hi,
I created a module by mkdir'ing it then chowing it to cvs
Then I created entry in modules and modules,v and still I cannot check
it out!
What is going on?
--
Mohit Kakkar
Systems Administrator
Systemware Innovation
416-932-4643
--
---------------------------------------------------------------------------
This email and any attachments may contain information that is privileged,
and/or confidential, and is meant only for the intended recipient(s).If
the reader of this email is not the intended recipient, you are hereby
notified that any unauthorized dissemination, distribution or reproduction
of this email, or its attachments, is strictly prohibited. If you have
received this email in error, please advise the sender immediately and
destroy the e-mail and any attachments.
---------------------------------------------------------------------------
--
_________________________________________________________________
Windows 7: Unclutter your desktop. Learn more.
http://www.microsoft.com/windows/windows-7/videos-tours.aspx?h=7sec&slideid=1&media=aero-shake-7second&listid=1&stop=1&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_7secdemo:122009
Loading...