Examining a single changeset in Mercurial

前端 未结 3 1523
滥情空心
滥情空心 2020-12-24 05:20

In Mercurial, how do you examine a single changeset? hg log -l 5 will give me a summary of the newest 5 changesets, but how do I get a list of the files changed in one chan

3条回答
  •  天涯浪人
    2020-12-24 06:16

    If you want to see how did the contents of the files were changed for a given revision you can use:

    hg diff --change 
    

    If you want to see the diff between the current revision and the one you are interested in, you can use:

    hg diff -r 
    

提交回复
热议问题