fix incoming -p
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Sun, 20 Aug 2006 02:21:51 -0300
changeset 2963 a8546e40070a
parent 2962 882e703eaa94
child 2964 26c8d37496c2
fix incoming -p
mercurial/commands.py
--- 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'):