title: hg log - How to get the last 5 log entries?
body: <p>I have a Mercurial project that has hundreds of commits.</p>
  
  <p>When I want to look at the most recent entries I type</p>
  
  <pre><code>hg log
  </code></pre>
  
  <p>and then wait for everything to print out and then scroll back to the top.</p>
  
  <p>How do I print out just the 5 most-recent entries?</p>