Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delete old SVN files from the ".svn/pristine" folder

Tags:

repository

svn

I have an SVN repository with a folder called archives, and this folder contains more than 3 GB of files.

Now, I don't need this folder for working (I've uploaded it to the SVN repository because of a mistake. These files are required only on the running application, not the source).

I've deleted the folder (svn rm ...), and, now my working copy have 3 GB less space used (the space from the archives folder deleted), but the .svn/pristine folder from the parent maintains the same used space.

How can I delete / clean this folder? I don't need this cache at the local working copy.

like image 992
Sakura Kinomoto Avatar asked Oct 20 '22 17:10

Sakura Kinomoto


1 Answers

Run svn cleanup. This will cause SVN to remove files from the .svn folder that are no longer being tracked by your working copy. See this answer from one of the SVN developers.

like image 84
Patrick Quirk Avatar answered Oct 22 '22 19:10

Patrick Quirk