Show More
@@ -25,7 +25,7 b' def difftree(ui, repo, node1=None, node2' | |||
|
25 | 25 | |
|
26 | 26 | change = repo.changelog.read(node1) |
|
27 | 27 | mmap = repo.manifest.read(change[0]) |
|
28 | empty = hg.nullid | |
|
28 | empty = hg.short(hg.nullid) | |
|
29 | 29 | |
|
30 | 30 | for f in modified: |
|
31 | 31 | # TODO get file permissions |
@@ -33,12 +33,12 b' def difftree(ui, repo, node1=None, node2' | |||
|
33 | 33 | hg.short(mmap2[f]), |
|
34 | 34 | f, f) |
|
35 | 35 | for f in added: |
|
36 |
print ":000000 100664 %s %s N\t%s\t%s" % ( |
|
|
36 | print ":000000 100664 %s %s N\t%s\t%s" % (empty, | |
|
37 | 37 | hg.short(mmap2[f]), |
|
38 | 38 | f, f) |
|
39 | 39 | for f in removed: |
|
40 | 40 | print ":100664 000000 %s %s D\t%s\t%s" % (hg.short(mmap[f]), |
|
41 |
|
|
|
41 | empty, | |
|
42 | 42 | f, f) |
|
43 | 43 | ## |
|
44 | 44 |
General Comments 0
You need to be logged in to leave comments.
Login now