Replace Subversion folder and keep history

I have two development trees v3.3 and v3.4 in the same SVN repository. They both contain a project called "test harness". However, the v3.4 devs destroyed the test harness, so we need the test harness from the project in version 3.3 to overwrite what we have in version 3.3. I want to keep a history of the changes made to 3.4 test harnesses as she has some interesting ideas. I thought about deleting the 3,4 test harness folder and then just added the exported copy of the 3.3 test harness to 3,4, but then I would lose my test3 test history ...
What's the best way to do this?

+2


source to share


3 answers


When you delete the 3.4 folder and copy the 3.3 folder, nothing is lost. That's what subversion is. You can access the "old" version 3.4 using the "binding revision", i.e. Use

svn ls path:/to/repository/version/3.4@<some old revision>

      



to see what the path looks like in this old version.

+3


source


You can delete all files in the 3.4 folder and then deploy (or copy) V3.3 in this empty folder. Subversion will keep the entire history of the 3.4 folder anyway. I think it's best to fork the current 3.4 version into an alternate folder (e.g. 3.4-broken should contain history as well), delete the original folder and branch 3.3 to 3.4.



+2


source


maybe this will help you:

Move file or directory

svn move source destination

      

Renaming a file or directory:

svn rename oldname newname

      

[] 'from,

And the past

0


source







All Articles