Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 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 | 3b1b44b917f4 |
children | b7fc961507db |
comparison
equal
deleted
inserted
replaced
1647:64a1169c927d | 1648:80640ef93aec |
---|---|
281 else: | 281 else: |
282 date2 = util.datestr() | 282 date2 = util.datestr() |
283 if not node1: | 283 if not node1: |
284 node1 = repo.dirstate.parents()[0] | 284 node1 = repo.dirstate.parents()[0] |
285 def read(f): | 285 def read(f): |
286 return repo.wfile(f).read() | 286 return repo.wread(f) |
287 | 287 |
288 if ui.quiet: | 288 if ui.quiet: |
289 r = None | 289 r = None |
290 else: | 290 else: |
291 hexfunc = ui.verbose and hex or short | 291 hexfunc = ui.verbose and hex or short |