Shaikh Sonny Aman’s Blog

previously www.mailtoaman.com

svn failed to commit, file or resource is locked !

Posted on | March 13, 2008 |

Some times while committing a file or folder using svn it says the resource is locked ! It happens if we forcefully cancel  an ongoing update or commit, say by using Ctr+C.

To unlock the resource use:

$svn cleanup

This will unlock the content. Now do commit :)

Comments

8 Responses to “svn failed to commit, file or resource is locked !”

  1. manchumahara
    March 13th, 2008 @ 3:31 am

    Cleanup can not unlock all time..:(

  2. Shaikh Sonny Aman
    March 13th, 2008 @ 3:32 am

    Please advice me what to do in that situation :(

  3. H2
    March 13th, 2008 @ 7:02 am

    svn unlock –force

    That will help in that case :D

  4. Shaikh Sonny Aman
    March 13th, 2008 @ 8:48 pm

    Thank you hasin bhai :)

  5. H2
    March 14th, 2008 @ 12:57 am

    CLI Rocks :D

  6. Ehab
    March 22nd, 2008 @ 9:06 am

    does

    svn -die

    work :D ?

  7. Jocie
    April 6th, 2008 @ 11:57 am

    This post is inspiring, fresh and ultra awesome! You have a very progressive looks. Reading this blog is a great pleasure.

  8. funydudde
    April 9th, 2008 @ 2:37 am

    It’s a pain in everyone else’s butt. Let

Leave a Reply