How does the 3 way merge in Mercurial/Meld work?

前端 未结 2 577
情歌与酒
情歌与酒 2021-01-31 16:16

I\'m working on a project where I have a commit that introduced a feature with major problems that weren\'t discovered immediately. Now I want to completely remove that revision

2条回答
  •  鱼传尺愫
    2021-01-31 16:58

    Local is r133

    Other is r134

    Base is r128 (the common ancestor to both r133 and r 134)

    When you perform a 3 way merge it compares all three of those together to help you decide what to take and from where. By seeing what change is in the other revision and what the common ancestor looked like you are able to make a much more informed decision about what to keep and what to change.

提交回复
热议问题