[cvsnt] Windows scheduler -- update the local CVS regularly
Luigi D. Sandon
cp at sandon.it
Wed May 7 09:02:19 BST 2008
> " CVS [login aborted]: authorization failed: server 10.222.46.64
> rejected access to /mtep-p1 for user AnilalKG"
Well, you have an authorization issue - for some reason the cvs login
command didn't work - see below.
>set path="C:\ProgramFiles\TortoiseCVS"
set path=%path%;"C:\Program Files\TortoiseCVS"
This way it appends the new directory, and does not overwrite the current
path.
>Set CVSROOT=:pserver:UserName at ComputerName:/Repository
I'd use sspi and avoid to store username/password in a batch file. Just set
the scheduled activity to run with the proper user.
>CVS login -p UserName
cvs login requires a password, not a username - anyway you could do it once
outside the batch file - it's not very safe but safer than storing it there.
>CVS -q Checkout -P Module
checkout needs to be done once too - later an update is usually enough.
--
Luigi D. Sandon
More information about the cvsnt
mailing list