Everyday morning I update my local code using cvs update
. The problem is that CVS stores my password. I usually type cvs logout
from cmd in order not to use my user any more. This way I will prevent myself from accidental commits to CVS. Any ideas on how to log out automatically after running cvs update
?
Asked
Active
Viewed 1,020 times
1

Keith Thompson
- 254,901
- 44
- 429
- 631

Wael
- 1,533
- 4
- 20
- 35
-
How often are you accidentally committing things? – Burhan Ali May 30 '12 at 13:03
1 Answers
0
CVS has pre and post-commit hooks. There is no update hook. https://priyamuthukumar.wordpress.com/tag/cvs-hooks/
The easiest way is to code a script which updates and then logs out.

Maksym Polshcha
- 18,030
- 8
- 52
- 77
-
Down-voted answer due to broken link. Here's another one that might be helpful: https://priyamuthukumar.wordpress.com/tag/cvs-hooks/ – the-nick-wilson Oct 05 '16 at 14:40