Next: , Previous: CVS keeps changing file permissions; why does it do that?, Up: Some Real Life Problems (With Solutions)


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.

Karl Fogel wrote this book. Buy a printed copy via his homepage at red-bean.com

copyright  ©  August 19 2019 sean dreilinger url: https://durak.org/sean/pubs/software/cvsbook/CVS-on-Windows-complains-it-cannot-find-my-_002ecvspass-file_003b-why_003f.html