mercurial/commands.py
changeset 1041 3ce272b96494
parent 1039 4296754ba7b4
child 1042 23f9d71ab9ae
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -933,7 +933,7 @@ def log(ui, repo, *pats, **opts):
             changenode = repo.changelog.node(rev)
             prev, other = repo.changelog.parents(changenode)
             dodiff(dui, dui, repo, prev, changenode, files)
-            du.write("\n\n")
+            dui.write("\n\n")
 
 def manifest(ui, repo, rev=None):
     """output the latest or given revision of the project manifest"""