# HG changeset patch # User Alexis S. L. Carvalho # Date 2006-08-20 05:21:51 # Node ID a8546e40070af6fd444ca50ff7abe1fb54d6fbaa # Parent 882e703eaa94761fd5e80e1a342aaf713d378492 fix incoming -p diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -1738,7 +1738,7 @@ def incoming(ui, repo, source="default", displayer.show(changenode=n) if opts['patch']: prev = (parents and parents[0]) or nullid - patch.diff(repo, other, prev, n) + patch.diff(other, prev, n, fp=repo.ui) ui.write("\n") finally: if hasattr(other, 'close'):