hgext/keyword.py
changeset 14348 c1c719103392
parent 14322 a90131b85fd8
child 14367 468d7d1744b4
--- a/hgext/keyword.py	Tue May 17 23:27:58 2011 +0200
+++ b/hgext/keyword.py	Tue May 17 23:46:15 2011 +0200
@@ -595,11 +595,11 @@
                 wlock.release()
 
     # monkeypatches
-    def kwpatchfile_init(orig, self, ui, fname, opener,
+    def kwpatchfile_init(orig, self, ui, fname, backend,
                          missing=False, eolmode=None):
         '''Monkeypatch/wrap patch.patchfile.__init__ to avoid
         rejects or conflicts due to expanded keywords in working dir.'''
-        orig(self, ui, fname, opener, missing, eolmode)
+        orig(self, ui, fname, backend, missing, eolmode)
         # shrink keywords read from working dir
         self.lines = kwt.shrinklines(self.fname, self.lines)