What to do is SVN Cleanup Fails? Please follow the guide lines below.
Prerequisites
- Download and unzip sqlite3 shell tool, e.g. sqlite-shell-win32-x86-3080803.zip
- Adjust paths in the commands below to match your environment
Fix (manual)
Run this if you just want to test if this helps
** I placed the sqllite3.exe in the same folder where we have wc.db
D:svn_pmp.svn>sqlite3.exe wc.db
SQLite version 3.8.10.2 2015-05-20 18:17:19
Enter “.help” for usage hints.
sqlite> select * from WORK_QUEUE;
812|(file-commit pmp-services/src/main/java/com/hixapi/pmp/service/plan/impl/mapping/PlanRateMapping.java)
sqlite> delete from WORK_QUEUE;
sqlite> .quit
Fix (automated)
If previous step worked for you, consider automating the process with these steps
- Go to your .svn folder, e.g.
D:svn_pmp.svn - Copy sqlite3 shell tool there
- Create a
fix-svn.bat
file in that folder - Next time you need to fix it, just run the shortcut on your desktop
Insert scripting code, and adjust paths
"d:svn_pmp.svnsqlite3.exe" wc.db "delete from WORK_QUEUE"
"C:Program FilesTortoiseSVNbinsvn" cleanup "D:src"
Save bat file and make a shortcut to your desktop
References:
https://changilkim.wordpress.com/2012/12/10/svn-cleanup-fails/
http://stackoverflow.com/questions/18000363/tortoisesvn-wont-allow-me-to-add-any-files
No comments:
Post a Comment