Mercurial: how can I see only the changes introduced by a merge?

前端 未结 2 931
一个人的身影
一个人的身影 2021-02-01 05:10

I\'m trying to get in the habit of doing code reviews, but merges have been making the process difficult because I don\'t know how to ask Mercurial to \"show only changes introd

2条回答
  •  不思量自难忘°
    2021-02-01 05:49

    In order to do code reviews you really want to see just the changes in the project that you are reviewing. To that end we use a new branch for each story and use pull requests to spotlight the changes, having merged all changes into the story branch before creating the pull request. We host our code on bitbucket and the review / pull request tools are really very good, offering a side by side diff.

    Pull requests with side-by-side diffs

提交回复
热议问题