Small Tip, big solution in SVN Problem

Some time, you will find this problems when you work under SVN:

  • Already under version control
  • Not a working copy
  • SVN Working Copy xxx locked and cleanup failed

AND This is solutions of problem above:

  • Already under version control
    #sudo find ./ -name “.svn” | xargs rm -Rf
    try to check back #svn st
  • Not a working copy
    rename old files/folder with “Not a working copy” status
    checkout new files/folder with “Not a working copy”
    try to check back #svn st
  • SVN Working Copy xxx locked and cleanup failed
    #sudo find ./ -name “.svn” | xargs rm -Rf
    #sudo svn cleanup
    #sudo svn up
    try to check back #svn st

I hope those problems that you often encounter in working with the SVN can be resolved with the solution.

Leave a Reply

Your email address will not be published. Required fields are marked *