# HG changeset patch # User Bryan O'Sullivan # Date 1185853748 25200 # Node ID 1b07668b8cc355f0b4857ed09107aa8cf0c250b4 # Parent 6dbd40b6307cfdbb9906ae328d8c84773857d240 patch: remove unused parameter from b85diff diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -1057,7 +1057,7 @@ def updatedir(ui, repo, patches): return files -def b85diff(fp, to, tn): +def b85diff(to, tn): '''print base85-encoded binary diff''' def gitindex(text): if not text: @@ -1244,7 +1244,7 @@ def diff(repo, node1=None, node2=None, f header.insert(0, 'diff --git a/%s b/%s\n' % (a, b)) if dodiff: if dodiff == 'binary': - text = b85diff(fp, to, tn) + text = b85diff(to, tn) else: text = mdiff.unidiff(to, date1, # ctx2 date may be dynamic