Search code examples
eclipsesvntaggingsubversive

SVN: Problems with tag creation in Eclipse with Subversive


I'm trying to create to create a tag in svn repo for my project. I use Eclipse and Subversive plugin. Every time I try tagging, I get the following error:

Tag operation for some of selected resources failed. svn: Commit failed (details follow): svn: No write-lock in '/home/project/directory'

Where /home/directory is a directory in my project. I'm pretty sure that if I would delete the project and re-checkout it, then all will work.

Does anybody know what is the source of the problem and if there is a workaround to get it working without delete-checkout cycle?


Solution

  • You find that error popping up from time (2008) (to time (2009)) to time (2010).
    Since there isn't any answer, that usually means the problem got away (like relaunching Eclipse was enough to pass that ordeal).
    It could be a permission issue, or a resource (like a file or directory) blocked by a process.

    But if it is more complicated, you still have the command-line alternative (a svn copy)


    VJ. reports in the comments:

    I eventually tried svn update which explained me that the write lock is present in another path of SVN.
    So I issued a svn clean for the from the root tree. Which cleared the issue.
    Post that, svn update worked as well as svn switch.