Show More
@@ -12,11 +12,11 b' def difftree(ui, repo, node1=None, node2' | |||
|
12 | 12 | """diff trees from two commits""" |
|
13 | 13 | def __difftree(repo, node1, node2, files=[]): |
|
14 | 14 | assert node2 is not None |
|
15 | mmap = repo.changectx(node1).manifest() | |
|
15 | 16 | mmap2 = repo.changectx(node2).manifest() |
|
16 | 17 | status = repo.status(node1, node2, files=files)[:5] |
|
17 | 18 | modified, added, removed, deleted, unknown = status |
|
18 | 19 | |
|
19 | mmap = repo.changectx(node1).manifest() | |
|
20 | 20 | empty = hg.short(hg.nullid) |
|
21 | 21 | |
|
22 | 22 | for f in modified: |
@@ -153,6 +153,7 b' def revtree(args, repo, full="tree", max' | |||
|
153 | 153 | break |
|
154 | 154 | if full != None: |
|
155 | 155 | l[x] = repo.changectx(i + x) |
|
156 | l[x].changeset() # force reading | |
|
156 | 157 | else: |
|
157 | 158 | l[x] = 1 |
|
158 | 159 | for x in xrange(chunk-1, -1, -1): |
General Comments 0
You need to be logged in to leave comments.
Login now