title: How can I list a series of revisions using 'hg log'?
body: <p>I'm attempting to use the <code>hg log</code> command to show a series of revisions, <em>x</em> through <em>y</em>.</p>
  
  <p>When I do this:</p>
  
  <pre><code>hg log -r 1+5
  </code></pre>
  
  <p>I get this:</p>
  
  <pre><code>changeset:   1:7320d2a9baa5
  user:        Tim Post &lt;tpost@whereiwork.com&gt;
  date:        Fri Sep 30 20:38:29 2011 +0800
  summary:     Foo foo everywhere is foo
  
  changeset:   5:8d6bea76ce60
  user:        Tim Post &lt;tpost@whereiwork.com&gt;
  date:        Fri Sep 30 20:51:42 2011 +0800
  summary:     Blah blah blah
  </code></pre>
  
  <p>Which is Mercurial understanding that I want to see revisions one <em>and</em> five instead of one <em>through</em> five. </p>
  
  <p>Oddly enough, this works:</p>
  
  <pre><code>hg log -r 1+2+3+4+5
  </code></pre>
  
  <p>But, that gets <em>extremely</em> cumbersome, especially when trying to get a summary between revisions that are +500 away from each other.</p>
  
  <p>Is there a way to get logs for revisions <code>x</code> <strong>through</strong> <code>y</code> instead of <code>x</code> <strong>and</strong> <code>y</code> without concatenating every revision in the series?</p>
  
  <p>I'm using the output in order to determine how many commitments each developer made in a given series. If I simply can't do that using the <code>hg</code> command, I'm more than open to using the Mercurial API. I resorted to the <code>hg</code> command because I did not see an obvious way of doing it via the API.</p>
  
  <p>By API, I mean just using Python via a hook or extension.</p>