Some of selected resources were not cleaned. svn: E155032: Pristine text not found

Anoop Pete picture Anoop Pete · Nov 26, 2012 · Viewed 22.7k times · Source

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'

Answer

Frk picture Frk · Oct 13, 2015

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