You are currently browsing the archives for the svn category


svn issues unable to rename

Sometimes while working with svn you might encounter errors likeĀ unableĀ to rename .svn/tmp/entries to .svn/entries. I encountered this error when I changed my computer. I used to use pc then i got myself mac book pro. I had to transfer all my files from old pc to new mac. then after i set it up i did svn update and the error was shown. after searching a while on google. I found out the solution. Solution is to run following command on the root folder of the svn directory.

chflags -R nouchg .

why to run above command? explanation as I found on stack overflow:

If you’re changing workspaces on OS X and you import an SVN-based project into your new workspace, some of your files may have the uchg flag set. SubClipse/SVN will not be able to update this project. You will get an error:

svn: Cannot rename file

every time you try invoke svn. If you issue:

chflags -R nouchg .

at the top-level of the project directory this will clear these flags and restore SVN function.


Tags