# HG changeset patch # User Steve Borho # Date 2009-09-17 22:39:43 # Node ID ffeaf5ba25d8da36915c05d40888d2a0f1e50741 # Parent c564dbb2a6d5394c995c1ae93943a16253e7b1e5 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 @@ ignore = [ # imported by profile, itself imported by hotshot.stats, # not available under Windows 'resource', + # this trips up many extension authors + 'gtk', ] def enable():