I am using tortoise SVN for a project that I'm working alone and I have committed (by mistake) a huge file to my repository (a VC++ Intellisense Database). Now I want to remove this file from my repository to facilitate its backup.
Removing the file from my project and doing a commit (obviously) do not solve my problem as the previous version of that file are still there in the repository. Is there a way to solve this problem that does not involve the creation of a new repository?
EDIT
The @ryansstack solution worked perfectly, that is what I did (I ran the commands in the directory where my repository was located):
First I created a dump of my repository filtering that huge file:
svnadmin dump tcc | svndumpfilter exclude "/trunk/Image Segmentation/Image Segmentation.ncb" > tcc.bak
Then I have created a new repository (tcc2) and ran the following command:
svnadmin load tcc2 < tcc.bak
Now the dump size of tcc2 is 7 MB versus 170 MB of tcc.
Using svn to delete a file from your working copy deletes your local copy of the file, but merely schedules it to be deleted from the repository. When you commit, the file is deleted in the repository. $ svn delete myfile D myfile $ svn commit -m "Deleted file 'myfile'." Deleting myfile Transmitting file data .
Show activity on this post. Now, after performing "Click OK" you need to go to truck (or place where your project is saved in SVN) then select project(which you want to Delete) then right click -> Delete. This Will Delete project from subversion.
Assuming you use the latest Syncro SVN Client version, to remove the working copy from Desktop: remove the working copy from Syncro SVN Client; For this, press the button with a folder on it, next to the working copies combo box (in the Working Copy view). From the opened dialog box, remove the Desktop working copy.
You right click on the directory, go to TortoiseSVN -> Delete. You then right click on the parent directory and SVN Commit... and that will remove the folder. This will delete the folder as well.
http://subversion.apache.org/faq.html#removal
you can't, quickly, but there is a way
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