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

后端 未结 4 1224
花落未央
花落未央 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条回答
  •  萌比男神i
    2021-01-02 05:51

    While looking for an equivalent in svn for git merge-base, I hit this post. There's still no simple way around this?

    Then here's one possible solution: Clone the repo using git-svn, run git-merge-base providing both braches. Voila!

提交回复
热议问题