遇到svn is already locked時(shí)如何解決全蝶!
SVN提示:“xxx” is already locked!
run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
然而在svn cleanup時(shí),又會(huì)提示:Can't create directory '/home/Android/.svn/tmp': File exists 導(dǎo)致無法操作他爸;
這時(shí)候,可執(zhí)行如下命令恢復(fù):
進(jìn)入.svn目錄(該目錄為隱藏目錄)
@server:~/android$ cd .svn
@server:~/android/.svn $ mkdir aa
@server:~/android/.svn $ mv aa tmp
@server:~/android/.svn $ rm -rf tmp
@server:~/android/.svn $ cd ..
此時(shí)可cleanup:
@server:~/android $ svn cleanup
于是再update,便沒有問題了
@server:~/android$ svn update