Mercurial 0.9.4 demandload problem

Alexis S. L. Carvalho alexis at cecm.usp.br
Sat Jun 30 18:34:45 UTC 2007


Thus spake Sébastien Pierre:
> Hi there,
> 
> I have some (unpublished) extensions to Mercurial, which are now  
> breaking with 0.9.4. The main reason is I get is:
> 
> TypeError: '_demandmod' object is not iterable
> 
> You'll find the backtrace at the end of this email. It seems to be  
> related to the demandload/demandimport modules, but I'm really not  
> sure as the behaviour of these modules is a bit black magic for me ;)

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

Alexis



More information about the Mercurial mailing list