diff hgext/mq.py @ 14351:d54f9bbcc640

patch: add lexists() to backends, use it in selectfile() At this point, all applydiff() filesystem calls should pass through fsbackend.
author Patrick Mezard <pmezard@gmail.com>
date Tue, 17 May 2011 23:46:38 +0200
parents a90131b85fd8
children 2d16f15da7bd
line wrap: on
line diff
--- 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: