changeset 2963:a8546e40070a

fix incoming -p
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sun, 20 Aug 2006 02:21:51 -0300
parents 882e703eaa94
children 26c8d37496c2
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sun Aug 20 01:13:11 2006 -0300
+++ b/mercurial/commands.py	Sun Aug 20 02:21:51 2006 -0300
@@ -1738,7 +1738,7 @@
             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'):