--- a/hgext/mq.py Thu Sep 26 14:47:19 2013 +0200
+++ b/hgext/mq.py Thu Sep 26 23:10:11 2013 +0200
@@ -77,6 +77,17 @@
command = cmdutil.command(cmdtable)
testedwith = 'internal'
+# force load strip extension formely included in mq and import some utility
+try:
+ stripext = extensions.find('strip')
+except KeyError:
+ # note: load is lazy so we could avoid the try-except,
+ # but I (marmoute) prefer this explicite code.
+ class dummyui(object):
+ def debug(self, msg):
+ pass
+ stripext = extensions.load(dummyui(), 'strip', '')
+
# Patch names looks like unix-file names.
# They must be joinable with queue directory and result in the patch path.
normname = util.normpath