--- a/hgext/mq.py Tue Feb 04 14:54:42 2014 -0500
+++ b/hgext/mq.py Sun Feb 09 17:30:49 2014 -0600
@@ -1986,10 +1986,11 @@
raise util.Abort(_('-e is incompatible with import from -'))
filename = normname(filename)
self.checkreservedname(filename)
- if util.url(filename).local():
+ if util.url(filename).islocal():
originpath = self.join(filename)
if not os.path.isfile(originpath):
- raise util.Abort(_("patch %s does not exist") % filename)
+ raise util.Abort(
+ _("patch %s does not exist") % filename)
if patchname:
self.checkpatchname(patchname, force)