demandimport: blacklist gtk
Demandimport breaks gtk. You get a meaningless error about
'failed loading gobject\_gobject.pyd'. Mercurial does not use gtk,
but this trips up many extension writers.
--- a/mercurial/demandimport.py Thu Sep 17 21:52:08 2009 +0200
+++ b/mercurial/demandimport.py Thu Sep 17 17:39:43 2009 -0500
@@ -127,6 +127,8 @@
# imported by profile, itself imported by hotshot.stats,
# not available under Windows
'resource',
+ # this trips up many extension authors
+ 'gtk',
]
def enable():