RevlogError - index data corrupted when pushing new files via https

Greg Ward greg-hg at gerg.ca
Sun Jan 30 09:48:50 CST 2011


On Thu, Jan 27, 2011 at 10:03 AM, Richard Mason <richard at rikware.com> wrote:
> I'm trying to update a Windows http mercurial server to 1.7.3 to support
> dotencode repositories but have run into a problem I can't find mentioned
> anywhere.
[...]
>   File "C:\Python27\lib\site-packages\mercurial\localrepo.py", line 1769, in addchangegroup
>     fl = self.file(f)
>   File "C:\Python27\lib\site-packages\mercurial\localrepo.py", line 555, in file
>     return filelog.filelog(self.sopener, f)
>   File "C:\Python27\lib\site-packages\mercurial\filelog.py", line 24, in __init__
>     "/".join(("data", path + ".i")))
>   File "C:\Python27\lib\site-packages\mercurial\revlog.py", line 273, in __init__
>     raise RevlogError(_("index %s is corrupted") % (self.indexfile))
> RevlogError: index data/Test.txt.i is corrupted

That's funny.  There should be no uppercase filenames in
.hg/store/data; that file should be _test.txt.i.  Is there really a
file called .hg/store/data/Test.txt.i (uppercase T) in either the
source or destination repo?

Other relevant questions just to rule out other possible problems:
  * any virus scanner on the target machine?  if so, is it disabled
for the target .hg directory?
  * is it a local filesystem?
  * what filesystem?
  * what version of Windows?

Greg


More information about the Mercurial mailing list