Steve Hay wrote:
[...]
I've never used cvs very much. After logging in, how do I specify the modperl-2.0 "module"?

If I set CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic and then type "cvs login" then I can login OK, but neither of the "cvs diff" commands above work:

C:\Temp>cvs diff t\response\TestAPI\server_util.pm
cvs diff: cannot open CVS/Entries for reading: No such file or directory
cvs [diff aborted]: no repository

C:\Temp>cvs diff t/response/TestAPI/server_util.pm
cvs [diff aborted]: no such directory `t/response/TestAPI'

Obviously my cvs diff setup (from Cygwin) doesn't like Windows style slashes, but the second command there looks more hopeful. Adding "modperl-2.0/" to the start of the path works fine:

C:\Temp>cvs diff modperl-2.0/t/response/TestAPI/server_util.pm

but presumably you would rather have the diff starting from within the modperl-2.0 directory.

I had a quick read of the CVS Howto at http://perl.apache.org/contribute/cvs_howto.html, but didn't find the answer. If I'm missing something obvious, perhaps that document could be updated?

I think it's because you need to checkout the repository first (meaning you need to do it afresh:


C:\Temp> cvs -d ":pserver:[EMAIL PROTECTED]:/home/cvspublic" login

(use the password "anoncvs")

C:\Temp> cvs -d ":pserver:[EMAIL PROTECTED]:/home/cvspublic" co modperl-2.0

now chdir into modperl-2.0

C:\Temp> cd modperl-2.0

and then if you do any changes in this directory, you can see them with 'cvs diff -u' or to update 'cvs up', etc.

C:\Temp\modperl-2.0> cvs up

Please notice that you can't use your previous directory which wasn't checked out, because it doesn't contain special directories CVS with special cvs files in them. You can copy files themselves if you have changed them, but only the files, not whole dirs.


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to