I downloaded some source files on a Mac that were previously part of some working copy on the authors computer, I need to use these files in another repository but the SVN client "Versions" for Mac is picking up on the data from this old repository. I can't find the ".SVN" folder anywhere... any idea on how to "cleanse" these files so I can commit them to my repository?
The .svn folder is just a hidden directory which will appear in every (or at least most) of the directories in your source tree.
To remove all of them, you can open up Terminal, navigate to your source directory, and then use the following line (found here):
find . -name ".svn" -type d -exec rm -rf {} \;
The .svn
folder can sometimes be named _svn
. You can try looking for those folders and removing them.
Also, if your Subversion client (Versions) sees the folder as a working copy, you can try to perform SVN export from the folder to itself. It should clean the SVN meta-data.
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