equal
deleted
inserted
replaced
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 |