SVN- pristine text missing

ephraim picture ephraim · Mar 26, 2017 · Viewed 14.2k times · Source

Already frustrated...Trying to update/commit/cleanup Tortoise SVN but always getting the notification about pristine text missing.

found some posts/questions on SO and on the web, nothing helped:

pristine svn-base file missing - suggests to clean pristine file, In my case it's the "pristine text" not found.

pristine svn-base file missing - suggests using smartSVN- clicking "Modify"->validate Admin Area - which doesn't exist anymore in smart SVN I've just downloaded...

And Error in Netbeans & Svn: Pristine text not found doesn't have an answer...

Anybody- some help please?

Answer

Álvaro González picture Álvaro González · Mar 27, 2017

The Subversion working copy format is not particularly robust and it's not strange that it gets corrupted now and then. When that happens, it's normally not worth the effort of fixing it. If svn cleanup can't cope with it, it's better to:

  1. Check out a fresh working copy.
  2. Copy your pending changes from the damaged working copy using your favourite file comparison tool (Meld, WinMerge, KDiff3, whatever).

You should not lose important information beyond changelists because everything else is stored on the repository, given that Subversion is a centralised version control system.