How to find the common ancestor of two branches in SVN?

后端 未结 4 1184
花落未央
花落未央 2021-01-02 05:14

Imagine you\'ve got a big SVN tree with branches all over the place. There is the trunk, there are branches, those branches have branches, etc. So, given two branches in the

4条回答
  •  走了就别回头了
    2021-01-02 05:47

    Look at the logs at root of the tree. Branching operations will be indicated as copy operations, so you can reconstruct a full ancestor tree of what was copied from where. Leave that code running overnight and you'll have the complete copy tree the next morning, which you can then use to identify common ancestors of your branches.

    Next time, you can resume work from the last revision you processed.

提交回复
热议问题