RapidSVN can’t unlock local directory

This is a common error, it seems, whith RapidSVN system. RapidSVN is very good, but some times, when this happen it get very anoying since you can’t unlock the dir even when setting the force option.

Today I got this issue again. One of the repositories that I was working with got stuck in a lock mode that I don’t know where and how it happened and I could not unlock using the RapidSVN.

Goggling around the net I couldn’t find anything, so I have downloaded subversion (sudo apt-get subversion) and tried to unlock using subversion. It did not work, but, it did give me at least some clue of how to work out.

This is how you need to do if you got stuck with this:

  • Download and install subversion: sudo apt-get subversion
  • Cleanup the repository: svn cleanup /path/to/repository/dir/

This should go nice and easy, but pay attention if you got one or another message from it.

After the second command you should be able to correctly update your local repository.

Advertisements

About mcloide

Making things simpler, just check: http://www.mcloide.com View all posts by mcloide

13 responses to “RapidSVN can’t unlock local directory

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: