Mercurial 0.9.4 demandload problem

Matt Mackall mpm at selenic.com
Sun Jul 1 09:47:04 CDT 2007


On Sat, Jun 30, 2007 at 03:10:11PM -0400, Sébastien Pierre wrote:
> 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 :/

Can you send us a minimal extension that reproduces the problem?

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list