Mercurial 0.9.4 demandload problem

Sébastien Pierre sebastien at akoha.org
Sat Jun 30 19:10:11 UTC 2007


Hi Alexis,

Le 07-06-30 à 14:34, Alexis S. L. Carvalho a écrit :

> As a workaround, I think you can try to add something like
>
> from mercurial import demandimport
> demandimport.ignore.append('str_util')
>
> to your extension - before the imports if possible

So I re-installed mercurial 0.9.4 (taking care of removing the bin/hg 
[merge] site-packages/mercurial-....egg-info and site-packages/ 
mercurial), and now I have the following error:

	hg --version
	Failed to load Mercurial modules.

Which happens only if I have my extension enable, with or without the  
line you suggested. I'm a bit puzzled, because I didn't have this  
problem before, and I'm using the same mercurial tarball !

Anyway, it seems like this line did not fix the problem :/

  -- Sébastien





More information about the Mercurial mailing list