How to correct the error “dir .svn missing” when using “Team -> Share project …” (of Subclipse 1.2.4)?

The full error message is:

org.tigris.subversion.javahl.ClientException: svn: Directory '[...]/.svn' containing working copy admin area is missing

And when creating the .svn directory yourself in your local directory, the following error appears:

org.tigris.subversion.javahl.ClientException: svn: Unable to lock '<plugin project name>'

This seems to be a bug in Subclipse 1.2.4. The solution: do manually what the “share project …” wizard would do. That is:

  1. Create a new remote directory in the SVN repository view.
  2. Check that directory out on top of the existing project.
  3. Say yes to deleting the local resource: that means just the directory, not the files in it.
  4. Commit your files to SVN.

Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.