How can I make svn command line client to forget the login credentials on windows (sliksvn)?

Viewed 60064

After having checked out once the repository to a folder, the svn command line client remembers the username and password (along with the repository url?). So, 2 questions arise:

  • is there a way to make it stop remembering the login info (and ask user/pass every time)?
  • is there a way to make it 'forget' the current login info (to delete the credentials already stored).

Thanks!

6 Answers

To make it forget the current credentials:
The credentials are cached somewhere in %APPDATA%\Subversion\auth Check the files in there to decide where to check, or remove all the files.

To make it stop remembering the login info:

  1. Edit %APPDATA%\Subversion\config.

  2. Set store-auth-creds=no

On Linux systems you need to remove the ~/.subversion/auth directory to forget the existing authentication details.

In the ~/.subversion/servers file set store-passwords value to no

On Windows Systems remove the "%APPDATA%\Subversion\auth" directory. Don't forget the quotes as generally %APPDATA% is in "Documents and Settings" path.

The SVN client should accept a --no-auth-cache option for this.

Related