mercurial/commands.py
changeset 3858 7c12958eba26
parent 3857 f6f16f871049
child 3859 8c24b6fd5866
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -895,7 +895,7 @@ def debuginstall(ui):
         if files != [fa]:
             ui.write(_(" unexpected patch output!"))
             ui.write(_(" (you may have an incompatible version of patch)\n"))
-            ui.write(data)
+            ui.write(output)
             problems += 1
         a = file(fa).read()
         if a != b: