SVN: Problems with tag creation in Eclipse with Subversive

Konstantin Burov picture Konstantin Burov · Aug 26, 2010 · Viewed 9.6k times · Source

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?

Answer

Nick G. picture Nick G. · Feb 24, 2012

Thanks for raising this issue! I just ran into this with Subversive 2.2.2 on Eclipse Indigo (3.7).

Cleaning up repository didn't work, but I noticed that the local copy has an old revision number (like 2, where the current is 37), although I am sure I committed before tagging.

So I ended up replacing the local code with the latest from repository, which updated the revision number. After that tagging worked like charm.