cvs over cygwin

I had been struggling to use cvs to update some scripts using eclipse and wincvs. I had the thought that as they are GUI based, they might be more helpful for starter. with all kinds of failures, I was not able to figure out what the problems were. The same cvs account worked from eclipse on Linux box, but the windows box cribbed with error = -2 or something like that.
Finally, I thought of giving a try with cvs commands from the cygwin installation.
Yeah, I have not yet studied the cvs manual, but I come to know that login is possible only with pserver and not to ext.
b) you can checkout the project modules only from the tree.
c) cannot download a subdirectory only from that module.
c) To add a file to a subdirectory in the module. go to the local folder in the module which has the new files and then do a add and commit. This will add those files to the corresponding sub-folder inside the module at the cvs repository.

this is how I use:

cvs -d :ext:@: co
cd /
cvs -d :ext:@: add file
cvs -d :ext:@: commit file

so, just started. hope to get more grip soon.

6 comments:

bluesmoon said...

did you specify a cvs root?

sajith said...

What was the command line stanza you used?

Senthil said...

vs -d :ext: senthil_or@estaf.somewhere.com:/mnt/selma/cvs/cvsroot co subdirectory

bluesmoon said...

your cvsroot is right. the subdirectory has to start with the module name.

sajith said...

Without the space after -d:ext:, right? And the subdirectory was specified like project/path/to/subdir, right? And you are sure that it exists? AFAIK, "could not expand modules" happens when the subdirectory doesn't exist at all.

sajith said...

Ah, so you got it working :)