[PATCH] Add ElementPath to the list of package ignored by demand import
pierre-yves.david at logilab.fr
pierre-yves.david at logilab.fr
Mon Mar 1 07:25:55 CST 2010
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at logilab.fr>
# Date 1267449355 -3600
# Branch stable
# Node ID fd0ef3a9c3e7117cc0002f1bc7b1eb51859aeb1e
# Parent b97736016273c61f66315d8af700ccd34543d09d
Add ElementPath to the list of package ignored by demand import
the bzrlib try to import the ElementPath module had use a fallback if the
imlport fails. Lazey import of this module leads to later failure.
The bzrlib is used by the convert extension
diff --git a/hgext/convert/bzr.py b/hgext/convert/bzr.py
--- a/hgext/convert/bzr.py
+++ b/hgext/convert/bzr.py
@@ -14,6 +14,7 @@
demandimport.ignore.extend([
'bzrlib.transactions',
'bzrlib.urlutils',
+ 'ElementPath',
])
from mercurial.i18n import _
More information about the Mercurial-devel
mailing list