[PATCH] demandimport: blacklist gtk
steve at borho.org
steve at borho.org
Thu Sep 17 17:41:27 CDT 2009
# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1253227183 18000
# Node ID 23ff9a7400ce9743ef9770cece63136c92d8cfcf
# Parent 61e30f257c15cd4f7f1d66d8eae338b5c70b964b
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.
diff --git a/mercurial/demandimport.py b/mercurial/demandimport.py
--- a/mercurial/demandimport.py
+++ b/mercurial/demandimport.py
@@ -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():
More information about the Mercurial-devel
mailing list