diff mercurial/commands.py @ 2963:a8546e40070a

fix incoming -p
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sun, 20 Aug 2006 02:21:51 -0300
parents ff3ea21a981a
children fb493241d7f6 890e285c52a1
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'):