When you’re doing new stuff. You always encounter some problems. Happened to me to.

While trying to get my first WordPress plugin into the plugin repository (SVN). After checking out the SVN, no problems there, I wasn’t able to commit the first version of my plugin :( While I was certainly using my WordPress credentials, I mean, checking out was working, right?

Authentication realm: <https://plugins.svn.wordpress.org:443> Use your WordPress.org login
svn: E195023: Commit failed (details follow):
svn: E175013: Access to '/!svn/***' forbidden

Looks like my commit is failing because I don’t have access. But it is my plugin! Why can’t I access it!?

Let’s see.. did this happen to other people aswell? A few Google queries later, I found out that SVN usernames are case sensitive. And of course, my wordpress.org username has an uppercase character.

So I had to re-authenticate, but how? I told SVN to remember my credentials.. Deleting the saved credentials, is one way to re-authenticate :)

How do we delete the credentials?

This stackoverflow question answered the question on where that info is saved. Let’s delete it then :)

On Unix:

  1. cd to ~/.subversion/auth/
  2. Do fgrep -l <usernameORserverurl> */*
  3. Delete the file found

And Windows:

  1. cd  to %APPDATA%\Subversion\auth
  2. Do findstr /S /M /I /c:”<usernameORserverUrl>” *
  3. Delete the file found

If you want to delete all the authentication info you can do it the easy way.

rmdir /s /q "%APPDATA%\Subversion\auth"

 

The next operation on the SVN repository will ask you for your credentials :)