"cannot import name demandimport" and "index 00changelog.i invalid format 2!"

Ethan Mallove ethan.mallove at sun.com
Mon May 12 16:05:41 CDT 2008


Hello,

I'm running into issues with Mercurial 0.9.1 RPMs on SuSE
10.1.

  $ hg clone /foo/bar /tmp/foo
  abort: index 00changelog.i invalid format 2!

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
  
I'm using the RPMs posted here:

  http://download.opensuse.org/repositories/devel:/tools:/scm/SUSE_Linux_10.1/x86_64/

Any ideas what might be going on?

Thanks,
Ethan


More information about the Mercurial mailing list