Here is the situation: One man checked out repository and now I have to update some of the folders. Problem is that he left and no one knows the password. So, I would like to use my own account. I execute this command:
svn up --username (my_user_name) --password (my_password) --no-auth-cache
SVN asks for my password and SVN doesn't accept it. It looks like my credentials are ignored and original credentials are used (the one who did check out). I tested my account doing check out in /tmp
and worked fine.
Why SVN does not accept my credentials while doing update?
Windows can be found either in : C:\Users\%USERNAME%\AppData\Subversion\auth\svn. simple C:\Users\%USERNAME%\AppData\Roaming\Subversion\auth\svn.
svn Administering SVN Create new userSpecify user_name with the username you wish to add in above command. It will prompt to provide password for the user. If you are creating very first user, you need to add –c switch in above command, which will create the file.
Try this
mv $HOME/.subversion $HOME/.subversion-old
cd <your working copy>
svn up --username <your username>
This should ask for the password for your username
I had the same problem and I found that this option servers:global:http-library=serf
can solve the issue if the protocol is http/https.
Your command then would be:
svn up --username (my_user_name) --password (my_password) --no-auth-cache \
--config-option servers:global:http-library=serf
Please try the command bellow. It is the proper way to remove cached credentials.
$ rm -f ~/.subversion/auth/svn.simple/*
After that:
$ svn up --username <your username>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With