--- a/hgkw/keyword.py Fri May 27 17:46:48 2011 +0300
+++ b/hgkw/keyword.py Fri May 27 21:50:09 2011 +0200
@@ -595,11 +595,11 @@
wlock.release()
# monkeypatches
- def kwpatchfile_init(orig, self, ui, fname, backend, mode,
+ def kwpatchfile_init(orig, self, ui, fname, backend, mode, create, remove,
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, backend, mode, missing, eolmode)
+ orig(self, ui, fname, backend, mode, create, remove, missing, eolmode)
# shrink keywords read from working dir
self.lines = kwt.shrinklines(self.fname, self.lines)