その先にあるもの…

[SVN] cleanup error 본문

Linux_Raspberry

[SVN] cleanup error

specialJ 2020. 3. 18. 14:26

SVN으로 업데이트 하다가 도중에 끊겼는데 다시 업데이트를 실행하니

cleanup 에러가 발생 합니다. 

 

그래서 cleanup 을 실행했떠니 또 에러가 뜹니다. '-' 난감합니다. 

 

 

[에러코드]

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

svn cleanup failed–previous operation has not finished; run cleanup if it was interrupted

 

[해결방법]

Windows의 경우 http://www.sqlite.org/download.html 에서 sqlite를 다운받아 SVN 폴더에 복사

cmd 에서 SVN폴더로 이동한다음에 아래의 명령을 주면 됩니다. 

 

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

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

 

 

 

 

보아하니 svn은 sqllite를 사용하는것 같고 work_queue에 업데이트 명령을 담아두고 실행하는것 같은데

중간에 연결이 끊어지니 work_queue의 내용이 꼬인것 같습니다. 

 

 

work_queue를 delete 하고 다시 SVN의 cleanup 명령어를 준뒤 업데이트 명령을 실행하니

문제없이 최신 소스로 업데이트 되었습니다.


출처: https://www.ince.co.kr/489 [무차별 대량 비난]

'Linux_Raspberry' 카테고리의 다른 글

exec 명령어  (0) 2020.03.26
[SVN] svn lock 풀기  (0) 2020.03.18
NVM 설치 및 사용  (0) 2018.08.06
boost 버전확인  (0) 2018.08.02
samba passwd 변경  (0) 2018.05.07
Comments