Is it safe to delete the contents of .svn/pristine?

Clay Banks picture Clay Banks · Mar 28, 2014 · Viewed 49.4k times · Source

I'm working with a large application I've checked out from my repository, the bulk of this app is in the .svn/pristine folder. From what I understand, the pristine folder contains copies of the files in my workingCopy directory

That being said,

  • Would it be okay to delete these files?
  • Do I really need them?

I have my files backed up already and no intention to revert. The extra space gained would dramatically cut my compile time as well.

EDIT

I now understand that changing anything manually inside .svn will likely break my workingCopy.

I need to find a way to reduce the size of my workingCopy. In TortoiseSVN, there is a Cleanup - Delete unversioned files and folders, which "removes all generated files in your working copy". Perhaps this would get rid of those files without breaking my application?

Cheers

Answer

Jérôme Pouiller picture Jérôme Pouiller · Aug 22, 2014

You may try to launch svn cleanup. It will remove unnecessary files from .svn/pristine.