Thoughts, Code, Other

Technical blog of Nik Smit

rainbow

Subversion and changing password

For source control on my projects, I use a hosted SVN repository, tortoise, and to tie it all together in Visual Studio, the excellent VisualSVN. Coming from a VisualSource(Un)Safe background, it's a huge breath of fresh air. Uncoupling your IDE from your source control has a lot of positives. Actually working correctly is probably number 1.

Today was the first time I'd needed to change my password on the repository. Getting the client side was surprisingly obtuse. Couldn't find a "set password" anywhere, in the VisualSVN or tortoise UI.

SVN gives you this error :

Could not open the requested SVN filesystem

Turns out that tortoise caches your passwords on disk (encrypted thankfully), in the following location

~/.subversion/auth/ (linux), or %APPDATA%/Subversion/auth/ (windows).

To get it to prompt you to enter your new password, view each of the files in the svn.simple subdirectory, until you find the relevant one (look at the svn:realmstring line), and just delete it.

More info from the Subversion book

Comments are closed.