I wanted to use svn cleanup
to remove lock on my working copy but failed with the following log:
svn: E000001: Can't remove file '/Users/panjie/Desktop/work/SYS-SVN/.svn/pristine/e4/e41bbcb7a645255ae62c65613e6d0dcbe7499d70.svn-base': Operation not permitted
I checked the permission of the file and found nothing wrong. I am using SVN/1.9.3 under MACOSX/10.11.6
The cause of this is that the file is locked by macOS. So, the solution is simple chflags -R nouchg .svn
and run svn cleanup
again and everything is OK now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With