title: How can I convert a Mercurial repository to Git...in *Windows*?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3267232/converting-a-mercurial-hg-repository-to-git-on-windows-7">Converting a Mercurial (hg) repository to Git on Windows (7)</a>  </p>
  </blockquote>
  
  
  
  <p>There's a Mercurial repository that I want to convert to Git, which is what we use at work.  I have Mercurial (for Windows) installed, and I've already cloned the Hg repository locally.  I'm stuck on trying to convert it.</p>
  
  <p>Most of the pages I've found assume that I'm using Unix/Linux, and the most common recommendation, hg-fast-export, seems to work only in those OSes.  I do have access to the Git Bash.  I've gotten as far as this (line-wrapped for easier reading):</p>
  
  <pre><code>$ ~/codeingit/fast-export/hg-fast-export.sh -r
          ~/codeinmercurial/projectiwanttoconvert
  </code></pre>
  
  <p>In response, I get:</p>
  
  <blockquote>
    <p>ImportError: No module named mercurial</p>
  </blockquote>
  
  <p>I've read a number of web pages about this which, again, assume that I'm using Unix/Linux and that I have Mercurial installed for that.</p>
  
  <p>Is there anyone who's successfully converted an Hg repository to Git on <strong>Windows</strong>, and can write a step-by-step guide to doing it?</p>