Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view revision history for Mercurial file?

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 with visual tools (we use ExamDiff to do some other diffs).

I'd say this is basic source control functionality but I can't seem to figure out how to do this with Mercurial.

like image 577
Marcus Leon Avatar asked Aug 11 '10 14:08

Marcus Leon


1 Answers

hg log file  hg diff -r 10 -r 20 file 
like image 105
zerkms Avatar answered Oct 05 '22 21:10

zerkms