title: Mercurial HG Serve HTTP 500 Error
body: <p>I'm running a mercurial repository using hg serve. I can access it via a browser and view everything in my repository however when I try to do an hg clone with the same url I get HTTP Error: 500 (Internal Server Error).</p>
  
  <p><strong>UPDATE:</strong> It turns out this is an issue somehow caused by using TortoiseHG web server instead of using hg serve explicitly. The error that TortoiseHG is showing is "AttributeError: 'Blackhole' object has no attribute 'fileno'"</p>