SVN Error – No Lock Tokens available issue

Home / Blogs / SVN Error – No Lock Tokens available issue

When the SVN gives the message that no lock tokens available, then it means that the SVN server has the lock information for the file but there is no relevant client who is known as the owner of lock.  Usually this lock token issue comes up to me when I have moved the files to some other location or renamed the file.

Currently I follow below steps to break the lock in SVN server

  1. Find the file which has no-lock-token using the SVN commit window.
  2. Go to the respective folder of that file and look for SVN logs and search for that file to filter the various results.
  3. Out of the results, select the top result and right click to get “Update items to the revision” for that folder.
  4. Now, go to the folder in window explorer and click on “Check for Modification” in SVN context menu.  Then in the SVN Modification window, click “Check Repository” to get information from SVN at that commit version.  This leads SVN to load with information about the various files in the SVN server at that moment.
  5. Then, in the Lock column, find if there is someone holding the lock for that specific file.
  6. If the lock is there, then right click on that file and break the lock.
  7. If the lock is not there, then repeat the above steps to next result form step 3.  There should be some SVN version where lock is held by someone else.

 

Ajay is a professional developer and architect of LabVIEW applications with extreme interest in getting the hardware connected to LabVIEW and automate the stuffs.  He is also a good mentor for the various interns in his career.  He is ready to help the people in techie roles.

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.

%d bloggers like this: