diff mercurial/demandimport.py @ 32173:c939fdce0fde

demandimport: add urwid.command_map to ignore list The useful pudb debugger can be used with Mercurial, but its import of urwid fails when demandimport is enabled. Add urwid.command_map to the ignore list so pudb can be used with hg without disabling all of demandimport.
author Phil Cohen <phillco@fb.com>
date Wed, 03 May 2017 18:26:57 -0700
parents 3e03a4b9ec8c
children b2b5605285ec
line wrap: on
line diff
--- a/mercurial/demandimport.py	Fri May 05 10:08:36 2017 -0700
+++ b/mercurial/demandimport.py	Wed May 03 18:26:57 2017 -0700
@@ -297,6 +297,7 @@
     'distutils.msvc9compiler',
     '__builtin__',
     'builtins',
+    'urwid.command_map', # for pudb
     ]
 
 if _pypy: