Unable to edit and save a file under subversion control.

Posted on 2010-01-07
Last Modified: 2013-11-25

I am unable to edit and save only a single file under subversion control in a particular folder.

Getting error :: "Check whether if this file is open in another program" in Notepad Plus Plus
and in other editors, they are asking for saving in some other directory.

The file is not open in any other program on my PC.

What can be the reason for being unable to save it ?

Can the file be locked by some other user ? If yes, then how can I check it if its locked or not ?

What's the svn command to check if a file is locked by someone ?
Question by:puneetdudeja
    LVL 9

    Assisted Solution

    Need to find whethere the problem is at your end or svn server end. This can be done as explained below easily.
    With the locked file you have an lock icon in front of file name. To look exactly check out in the SVN->Settings and then under Icon overlay and check out the icon of locked.cpp/h.
    May be the file is locked or some application (service that are not visible actually) is using that file. You may need to search in your system and try to use utility unlocker to unlock the file. Because the file cannot be overwrite if it is opened or read only access. Better to try to create another folder to specifically get this file (if you get it then it is sure the problem is at your end. If you still didnt able to get the file in some other folder then surely the problem, like lock, is on svn server side).
    If it is locked then you may try to unlock it if you have the permission like you lock the file itself.  
    When the file is locked you can see the lock icon and details there while you try to do operation on it.

    LVL 2

    Accepted Solution

    The file was not locked, and if it is locked also then it only can not be committed but we can save it locally. Actually the file's execute permission was denied so it was not getting saved !!

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    INTRODUCTION Subversion is a fantastic version management and software configuration management tool for teams and individuals to manage software applications. It offers many advantages over it's CVS ancestor such as it's built-in compatibility w…
    When working in a large software development team, whether you have many developers working on the same projects, or your project is linked to other projects; it is very important that developers regularly perform "get latest" to ensure that the cha…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now