# HG changeset patch # User Augie Fackler # Date 1271993823 18000 # Node ID b72850177e5ceeb12614012a7c26568787e56050 # Parent 1290ab9def8fc793bef96aecf48d01f06af687d5 stupid: update monkeypatch for 91c58cf54eee diff --git a/hgsubversion/stupid.py b/hgsubversion/stupid.py --- a/hgsubversion/stupid.py +++ b/hgsubversion/stupid.py @@ -54,9 +54,10 @@ def mempatchproxy(parentctx, files): # Avoid circular references patch.patchfile -> mempatch patchfile = patch.patchfile + # TODO(durin42): make this a compat path for hg < 1.6. class mempatch(patchfile): - def __init__(self, ui, fname, opener, missing=False, eol=None): - patchfile.__init__(self, ui, fname, None, False, eol) + def __init__(self, ui, fname, opener, missing=False, eolmode=None): + patchfile.__init__(self, ui, fname, None, False, eolmode) def readlines(self, fname): if fname not in parentctx: