mercurial/commands.py
changeset 264 4c1d7072d5cd
parent 262 3db700146536
child 266 4af7677de4a9
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -61,12 +61,12 @@ def dodiff(repo, files = None, node1 = N
         tn = read(f)
         sys.stdout.write(mdiff.unidiff(to, date1, tn, date2, f))
     for f in a:
-        to = ""
+        to = None
         tn = read(f)
         sys.stdout.write(mdiff.unidiff(to, date1, tn, date2, f))
     for f in d:
         to = repo.file(f).read(mmap[f])
-        tn = ""
+        tn = None
         sys.stdout.write(mdiff.unidiff(to, date1, tn, date2, f))
     
 def help(ui, cmd=None):