How to view revision history for Mercurial file?

后端 未结 4 590
别跟我提以往
别跟我提以往 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:50

    The hgk extension gives you hg view file command that shows a visual history, from which you can diff/vdiff arbitrary pair of revisions.

    TortoiseHg gives you thg log file command that does the same thing but looks better.

提交回复
热议问题