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 890e285c52a1 fb493241d7f6
line wrap: on
line diff
--- 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'):