Archive of old files

I am new to SVN. I have a lot of old unused files that I want to archive or copy to another repository or directory. How can I archive these files and keep a history of their changes?

+2


a source to share


4 answers


  • svn move

    if you want them to be in a different directory. You can access the file history.
  • svn delete

    if you want some kind of archive. It's there in the old version, but they've gone to newer versions. Of course, the file history is intact.


+3


a source


Just remove them. History will remain and you won't have a bunch of files taking up space and fragmenting your HD.



+2


a source


You can always create a new repository for new changes. Just use "svnadmin dump" and "svnadmin load" for your fixes. You will have old versions in the first repository and you can start new in the new one.

+2


a source


svn delete will work, but since I don't know the best way to get the history of the project, I always move it to a folder at the same level as / trunk and / branch, like / archives, so it's easier to find later, but also doesn't load when I check the trunk to another machine (or build server).

+2


a source







All Articles