diff -r b21f76520d40 -r b9b551e18502 hgkw/keyword.py --- a/hgkw/keyword.py Tue Jun 09 22:42:39 2009 +0200 +++ b/hgkw/keyword.py Mon Jun 15 11:10:15 2009 +0100 @@ -485,10 +485,10 @@ release(lock, wlock) # monkeypatches - def kwpatchfile_init(orig, self, ui, fname, opener, missing=False): + def kwpatchfile_init(orig, self, ui, fname, opener, missing=False, eol=None): '''Monkeypatch/wrap patch.patchfile.__init__ to avoid rejects or conflicts due to expanded keywords in working dir.''' - orig(self, ui, fname, opener, missing) + orig(self, ui, fname, opener, missing, eol) # shrink keywords read from working dir self.lines = kwt.shrinklines(self.fname, self.lines)