开发者

Recovering from a separate (now corrupt) SVN repository?

开发者 https://www.devze.com 2023-04-08 07:40 出处:网络
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 s

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 t开发者_高级运维imeline 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?


  • 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
0

精彩评论

暂无评论...
验证码 换一张
取 消