GNU Info

Info Node: (cvsbook.info)CVS on Windows complains it cannot find my .cvspass file; why?

(cvsbook.info)CVS on Windows complains it cannot find my .cvspass file; why?


Next: My working copy is on several different branches; help? Prev: CVS keeps changing file permissions; why does it do that? Up: Some Real Life Problems (With Solutions)
Enter node , (file) or (file)node

CVS on Windows complains it cannot find my .cvspass file; why?
--------------------------------------------------------------

For pserver connections, CVS on the client side tries to find the
.cvspass file in your home directory.  Windows machines don't have a
natural "home" directory, so CVS consults the environment variable
`%HOME%'.  However, you have to be very careful about how you set HOME.
This will work:

     set HOME=C:

This will not:

     set HOME=C:\

That extra backslash is enough to confuse CVS, and it will be unable to
open `C:\\.cvspass'.

So, the quick and permanent solution is to put

     set HOME=C:

into your autoexec.bat and reboot.  CVS pserver should work fine after
that.


automatically generated by info2www version 1.2.2.9