title: How to auto update a Mercurial push
body: <p>The below hook isn't auto updating the repository I'm pushing to.  I've verified that I have proper permissions as I'm updating via ssh with the owner of the files.</p>
  
  <pre><code>[hooks]
  changegroup = hg update &gt;&amp;2
  </code></pre>
  
  <p>When I try this without <code>&gt;&amp;2</code> I get no result either.</p>