Commit Graph

13 Commits

Author SHA1 Message Date
Thomas Arendsen Hein
4d29c6dc8e Updated copyright notices and add "and others" to "hg version" 2007-06-19 08:51:34 +02:00
Matt Mackall
ab72eb680f demandimport: fix issue579 and add a test
fix suggested by Brendan
2007-06-18 19:43:26 -05:00
Lee Cantey
416c20c0e1 Fix for demandimport.py and Windows compiled version.
From Shun-ichi Goto in BTS issue 457 http://www.selenic.com/mercurial/bts/msg2780
2007-06-18 15:03:55 -07:00
Brendan Cully
464fa9a95b Add _xmlplus to the demandimport blacklist. (HGCIA was failing to load.) 2007-03-03 18:59:54 -08:00
Matt Mackall
4aa5ee68ce Add some modules to the demandimport ignore list for Windows 2006-12-17 22:16:57 -06:00
Brendan Cully
eab04761d3 demandimport: blacklist _hashlib again (imported in ImportError try block) 2006-12-17 18:45:46 -08:00
Brendan Cully
99bac46845 demandimport: handle already-loaded nested modules in subload 2006-12-17 18:34:42 -08:00
Matt Mackall
aa18646078 demandimport: fix import x.y.z as a when x.y is already imported. 2006-12-17 14:56:12 -06:00
Brendan Cully
6f4a09d3f4 Make demandimport pass all tests on python2.5. 2006-12-15 20:16:20 -08:00
Brendan Cully
8934db36d1 Merge with main 2006-12-15 11:14:55 -08:00
Matt Mackall
ec6238db65 demandimport: ignore _hashlib and email.mime
This makes things work with Python2.5. A better fix would be to fix
demandload to use __getattribute__ to be more transparent.
2006-12-15 12:38:18 -06:00
Benoit Boissinot
4bf7b440fe use parent.__setattr__ instead of __dict__ 2006-12-14 23:51:41 +01:00
Matt Mackall
f17a4e1934 Replace demandload with new demandimport 2006-12-13 13:27:09 -06:00