How do I find the merge that moved my changeset to another branch?

独自空忆成欢 提交于 2020-01-29 19:17:30

问题


I made a change a few months ago in a file in the default branch. Today we discovered that change somehow got merged into another branch. When I run hg log against that file, I'm only seeing the original changeset. I'm not seeing how that changeset made it into the branch.

What revset query can I pass to hg log to trace a changeset as it gets merged between branches?


回答1:


If the changeset in question lives on a named branch, you can use hg log -r 'descendants(<the_rev>) and branch(default)', and the first changeset shown should be the merge.



来源:https://stackoverflow.com/questions/11889485/how-do-i-find-the-merge-that-moved-my-changeset-to-another-branch

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!