1

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).

UPDATE: 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'"

Helgi
  • 5,428
  • 1
  • 31
  • 48
Hungry Beast
  • 3,677
  • 7
  • 49
  • 75
  • 1
    please describe "view everything in my repository". I've seen people say that and they were looking at a static http view of the files in their working directory, not the actual links-down-the-side application. – Ry4an Brase Jul 22 '11 at 03:47

3 Answers3

1

Look at the output of hg serve command. I bet any errors will be printed right there.

If that is not enough, try passing --errorlog somefile.log option.

We can't help you more than this without seeing the actual error message.

Denilson Sá Maia
  • 47,466
  • 33
  • 109
  • 111
0

I had same problem, and adding the extension in the .hg/hgrc of the repository itself solved the issue :

[extensions] largefiles=

Gerald
  • 690
  • 4
  • 13
0

It looks like they're tracking this issue here: https://bitbucket.org/tortoisehg/thg/issue/937/error-cloning-repo-using-serve.

For now the solution is to run hg serve from the command line.

Hungry Beast
  • 3,677
  • 7
  • 49
  • 75