Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 643
Konstantin Burov Avatar asked Aug 26 '10 08:08

Konstantin Burov


People also ask

What is synchronize with repository SVN eclipse?

Synchronize with Repository is something similar to svn status -u , but even more. It will open a Synchronize tab (or perspective) that displays overview of your local (outgoing) modifications versus repository (incoming) modifications.

How can I compare two SVN branches in eclipse?

Right click on the project -> Compare With -> Branch.. > or svn properties. This drives compare view (differential view) unusable. > colleagues made.

How do I view SVN history in eclipse?

Window -> Preferences -> Team -> SVN -> Default number of log messages. Or you can press the ">|" button to see the complete history.


1 Answers

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.

like image 165
Nick G. Avatar answered Oct 05 '22 09:10

Nick G.