radztech
radztech

Reputation: 439

In Mercurial (tortoisehg), how do I view a file's history?

In tortoisehg, how do I view a file's history? Much like as the repo explorer, but instead of viewing the whole repo, I would like to view only a specific file's history.

Thanks!

Upvotes: 22

Views: 14014

Answers (2)

Shraddha
Shraddha

Reputation: 2335

You can view the changes on a file by the following command:

hg log -f file_path

You can see more options by typing hg log --help

Upvotes: 39

Antony Scott
Antony Scott

Reputation: 21978

You can use TortoiseHg, right click, view history. I think within the repo explorer/workbench you can go into file view mode and do the same from there

Upvotes: 24

Related Questions