hgext/mq.py
changeset 14351 d54f9bbcc640
parent 14322 a90131b85fd8
child 14382 2d16f15da7bd
--- a/hgext/mq.py	Tue May 17 23:46:38 2011 +0200
+++ b/hgext/mq.py	Tue May 17 23:46:38 2011 +0200
@@ -1178,7 +1178,7 @@
                 if wcfiles:
                     for patchname in s:
                         pf = os.path.join(self.path, patchname)
-                        patchfiles = patchmod.changedfiles(pf, strip=1)
+                        patchfiles = patchmod.changedfiles(self.ui, repo, pf)
                         if wcfiles.intersection(patchfiles):
                             self.localchangesfound(self.applied)
             elif mergeq: