How to view revision history for Mercurial file?

后端 未结 4 589
别跟我提以往
别跟我提以往 2020-12-12 15:38

For a given file in a Mercurial repository, how can you see the revision history?

And how can you diff two revisions of the file?

Ideally doing all this wi

4条回答
  •  独厮守ぢ
    2020-12-12 15:54

    For readability

    hg diff -r revision1:revision2 file
    

    Where revision1 and revision2 can be a tag, changeset etc.

提交回复
热议问题