Mercurial error, could not import module directory

Benoit Boissinot bboissin at gmail.com
Mon Oct 8 08:06:45 CDT 2007


On 10/8/07, ukdmbfan <matt at nancies.org.uk> wrote:
>  I've had a good search for this in a few Mercurial places (as well as
> Google) and can't seem to find a reference for this error.
>
>  I've got Mercurial running fine on my Mac at home, however I'm having
> problems with it on my Linux VPS. If I create a brand new repo (hg init),
> create a random file in the repo, add it and commit it it all works fine.
> However, if I then run "hg log" I get the error: abort: could not import
> module directory!
>  After that, I can continue to add and update files into the repo, but
> whenever I know try and use the commit or log commands, I get the above
> error for both. Is this likely to be an hg, memory or python issue? It's a
> CentOS 4.4 server, with Python 2.3.5 and Mercurial 0.9.4.

Can you send the error message with --traceback ? that would be useful.

thanks,

Benoit


More information about the Mercurial mailing list