hgext/extdiff.py
changeset 17424 e7cfe3587ea4
parent 16743 38caf405d010
child 17773 434e5bd615fc
equal deleted inserted replaced
17406:fc14953e8e34 17424:e7cfe3587ea4
   107             fns_and_mtime.append((dest, repo.wjoin(fn),
   107             fns_and_mtime.append((dest, repo.wjoin(fn),
   108                                   os.lstat(dest).st_mtime))
   108                                   os.lstat(dest).st_mtime))
   109     return dirname, fns_and_mtime
   109     return dirname, fns_and_mtime
   110 
   110 
   111 def dodiff(ui, repo, diffcmd, diffopts, pats, opts):
   111 def dodiff(ui, repo, diffcmd, diffopts, pats, opts):
   112     '''Do the actuall diff:
   112     '''Do the actual diff:
   113 
   113 
   114     - copy to a temp structure if diffing 2 internal revisions
   114     - copy to a temp structure if diffing 2 internal revisions
   115     - copy to a temp structure if diffing working revision with
   115     - copy to a temp structure if diffing working revision with
   116       another one and more than 1 file is changed
   116       another one and more than 1 file is changed
   117     - just invoke the diff for a single file in the working dir
   117     - just invoke the diff for a single file in the working dir