Show More
@@ -76,7 +76,9 b' def diff(files = None, node1 = None, nod' | |||||
76 | c, a, d = map(lambda x: filterfiles(x, files), (c, a, d)) |
|
76 | c, a, d = map(lambda x: filterfiles(x, files), (c, a, d)) | |
77 |
|
77 | |||
78 | for f in c: |
|
78 | for f in c: | |
79 | to = repo.file(f).read(mmap[f]) |
|
79 | to = "" | |
|
80 | if mmap.has_key(f): | |||
|
81 | to = repo.file(f).read(mmap[f]) | |||
80 | tn = read(f) |
|
82 | tn = read(f) | |
81 | sys.stdout.write(mdiff.unidiff(to, date1, tn, date2, f)) |
|
83 | sys.stdout.write(mdiff.unidiff(to, date1, tn, date2, f)) | |
82 | for f in a: |
|
84 | for f in a: |
General Comments 0
You need to be logged in to leave comments.
Login now