::protected/이것저것

SVN - Previous operation has not finished; run 'cleanup' if it was interrupted 오류 해결

해맑은욱 2022. 2. 3. 16:32

[에러메세지]

Cleanup failed to process the following paths:

Previous operation has not finished; run 'cleanup' if it was interrupted.

Please execute the 'Cleanup' command.

 

[sqlite3 파일 다운로드]

http://www.sqlite.org/download.html

sqlite-tools-win32...버전 zip 파일을 다운받음.(윈도우일 경우)

 

[쿼리 날리기]

압축을 해제 후 sqlite3.exe 파일을 SVN 홈 경로로 이동.

CMD 창을 통해서 SVN 경로로 이동한 후에 명령어를 수행.

> sqlite3 .svn/wc.db "select * from work_queue"

 

큐에 있는 대상이 출력되면 DELETE 실행.

sqlite3 .svn/wc.db "delete from work_queue"

 

다시 Cleanup 실행 후 폴더가 lock 되었다는 에러 발생할 경우.

이번에는 락에 있는 폴더 대상을 삭제하기.

sqlite3 .svn/wc.db "delete from wc_lock"

 

Cleanup 실행이 되면 완료!