old-http error with .map files

Alexis S. L. Carvalho alexis at cecm.usp.br
Fri Jun 2 12:23:07 CDT 2006


Thus spake Satish Balay:
> However wget on this file works fine - so I'm guessing its a hg issue
> with '.map' comsidered something special. This is repoduceable with
> the following [and placing the repo in location accessible to a
> webserver]

This looks like some configuration issue in your HTTP server - the
returned file is most definitly not a Mercurial index file:

$ curl -s http://www-unix.mcs.anl.gov/~balay/foo/.hg/data/bar.map.i
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html><head>
<title>Menu for /~balay/foo/.hg/data/bar.map.i</title>
</head><body>
<h1>Menu for /~balay/foo/.hg/data/bar.map.i</h1>
<hr>




</body>
</html>

> asterix:/home/balay/tmp>hg clone --traceback old-http://www-unix.mcs.anl.gov/~balay/foo bar
> adding changesets
> Traceback (most recent call last):
...
>   File "/usr/lib/python2.3/site-packages/mercurial/revlog.py", line 361, in load
>     raise RevlogError(_("index %s invalid format %d" %
> RevlogError: index data/bar.map.i invalid format 17487
> abort: index data/bar.map.i invalid format 17487!
> transaction abort!
> rollback completed

17487 is the "DO" in the first line of the file above.

Alexis


More information about the Mercurial mailing list