"cannot import name demandimport" and "index 00changelog.i invalid format 2!"
Dirkjan Ochtman
dirkjan at ochtman.nl
Tue May 13 02:12:16 CDT 2008
Ethan Mallove wrote:
> $ hg clone /foo/bar /tmp/foo
> abort: index 00changelog.i invalid format 2!
Using an old hg on a newer repository doesn't work...
> The same "hg" command works on another machine with 0.9.5,
> so I thought this might be a repository/Mercurial-version
> incompatibility. Uppgrading to Mercurial 0.9.5, I now get:
>
> $ hg --help
> Traceback (most recent call last):
> File "/usr/bin/hg", line 11, in <module>
> from mercurial import demandimport; demandimport.enable()
> ImportError: cannot import name demandimport
hg is finding the old 0.9.1 libraries, not the new ones.
Cheers,
Dirkjan
More information about the Mercurial
mailing list