SVN Subversion use explicit cached credentials
Posted
by Nick
on Stack Overflow
See other posts from Stack Overflow
or by Nick
Published on 2010-06-16T22:07:39Z
Indexed on
2010/06/16
22:12 UTC
Read the original article
Hit count: 201
I am trying to run a SVN command in a script, but the script is launched as a system service that has cached svn username/password credentials.
I could always just put the username/password arguments in the command:
svn info --username bob --password pass
but I'd rather not have my username/password just sitting in a text file.
I've discovered that my cached credentails (when run svn normally) end up here:
C:\Documents and Settings\bob\Application Data\Subversion\auth\svn.simple\6ef188c2163f1ccc860a690b7ad21a15
Is there any way I could copy this cached credential file to where my script exists and just call that file explicitly?
© Stack Overflow or respective owner