hgkw/keyword.py
branchstable
changeset 958 e763012a55e5
parent 957 9cb57d78b54f
child 964 aaafe06aaa5f
--- a/hgkw/keyword.py	Fri May 27 21:50:09 2011 +0200
+++ b/hgkw/keyword.py	Fri May 27 21:50:10 2011 +0200
@@ -595,11 +595,12 @@
                 wlock.release()
 
     # monkeypatches
-    def kwpatchfile_init(orig, self, ui, fname, backend, mode, create, remove,
-                         missing=False, eolmode=None):
+    def kwpatchfile_init(orig, self, ui, fname, backend, store, mode, create,
+                         remove, eolmode=None, copysource=None):
         '''Monkeypatch/wrap patch.patchfile.__init__ to avoid
         rejects or conflicts due to expanded keywords in working dir.'''
-        orig(self, ui, fname, backend, mode, create, remove, missing, eolmode)
+        orig(self, ui, fname, backend, store, mode, create, remove,
+             eolmode, copysource)
         # shrink keywords read from working dir
         self.lines = kwt.shrinklines(self.fname, self.lines)