I m using Eclipse JUNO on windows 7.
I m using Visual SVN as SVN Repository.
When i try to update a file, I am getting an error
'Some resources were not updated. svn: E155004: There are unfinished work items in 'E:\SVN\tms'; run 'svn cleanup' first.'
When i run SVN Cleanup by right clicking on project, I am getting an error
'Some of selected resources were not cleaned. svn: E155032: Pristine text not found'
What worked for me was to find missing pristine node and delete it directly in the local svn DB using
sqlite3 .svn/wc.db
sqlite> select * from pristine where checksum="$sha1$<your missing pristine here>";
this didn't yield any results (for missing pristine it was expected result)
sqlite> select * from nodes where checksum="$sha1$<your missing pristine here>";
I had only one item there so when I've deleted it:
sqlite> delete from nodes where checksum="$sha1$<your missing pristine here>";
and then forced svn to update deleted nodes and everything worked OK
Download SmartSVN and click on "validate admin area" to fix the inconsistencies.
You can download SmartSVN to restore lost pristine file
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