changeset 9458:ffeaf5ba25d8

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.
author Steve Borho <steve@borho.org>
date Thu, 17 Sep 2009 17:39:43 -0500
parents c564dbb2a6d5
children bd017f359c08
files mercurial/demandimport.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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():