changeset 1648:80640ef93aec

Process working files through encode filters in dodiff()
author Petr Mazanec <petr.mazanec@tiscali.cz>
date Sun, 29 Jan 2006 10:10:16 +1300
parents 64a1169c927d
children beb7da710c8a
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sun Jan 29 10:10:00 2006 +1300
+++ b/mercurial/commands.py	Sun Jan 29 10:10:16 2006 +1300
@@ -283,7 +283,7 @@
         if not node1:
             node1 = repo.dirstate.parents()[0]
         def read(f):
-            return repo.wfile(f).read()
+            return repo.wread(f)
 
     if ui.quiet:
         r = None