hg log – How to get the last 5 log entries? February 14, 2023 by Tarik Use the limit parameter: hg log --limit 5