title: Mercurial HG_NODE hook variable on windows
body: <p>I'm currently testing mercurial hooks on windows and it seems like I cannot access hook variables....</p>
  
  <p>here's hgrc content : </p>
  
  <blockquote>
    <p>[hooks] <br />prechangegroup = ruby prechangegroup.rb test1 test2 $HG_NODE</p>
  </blockquote>
  
  <p>I also tried with %HG_NODE%</p>
  
  <p>Here's prechangegroup.rb content</p>
  
  <blockquote>
    <p>ARGV.each do|a| <br/>
      &nbsp;&nbsp;puts "Argument: #{a}" <br/>
    end</p>
  </blockquote>
  
  <p>It prints out: </p>
  
  <blockquote>
    <p>Argument: test1<br/>
    Argument: test2<br/>
    Argument: $HG_NODE$</p>
  </blockquote>
  
  <p>Followed by the normal push output...</p>
  
  <p>Any idea? (probably something stupid but, I can't seem to find it)</p>
  
  <p>Thanks</p>