Recovering from a separate (now corrupt) SVN repository?

爷,独闯天下 提交于 2019-12-25 06:49:07

问题


So for some reason (miscommunication for what the actual subversion URL is and only 1 person working on the code previously) we have two different subversion repositories with what we want to be the same code. Basically the timeline went like this:

  1. Created X repository
  2. Put code in
  3. Created Y repository
  4. Put code from X in
  5. Made modifications to Y
  6. SVN repo Y got corrupted (so he just stopped committing.. not bothering to say something before the backups replaced themselves)
  7. I made changes to X

And, so now I need to somehow merge the changes from Y into X. What would be the best method for doing this?


回答1:


  • create a branch from x at the revision where y was created
  • put the code from y in that branch
  • commit
  • merge the 'branch-y' to your trunk in x


来源:https://stackoverflow.com/questions/7571805/recovering-from-a-separate-now-corrupt-svn-repository

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!