Show More
@@ -71,8 +71,10 b" testedwith = 'ships-with-hg-core'" | |||||
71 | inferrepo=True) |
|
71 | inferrepo=True) | |
72 | def difftree(ui, repo, node1=None, node2=None, *files, **opts): |
|
72 | def difftree(ui, repo, node1=None, node2=None, *files, **opts): | |
73 | """diff trees from two commits""" |
|
73 | """diff trees from two commits""" | |
74 |
def __difftree(repo, node1, node2, files= |
|
74 | def __difftree(repo, node1, node2, files=None): | |
75 | assert node2 is not None |
|
75 | assert node2 is not None | |
|
76 | if files is None: | |||
|
77 | files = [] | |||
76 | mmap = repo[node1].manifest() |
|
78 | mmap = repo[node1].manifest() | |
77 | mmap2 = repo[node2].manifest() |
|
79 | mmap2 = repo[node2].manifest() | |
78 | m = scmutil.match(repo[node1], files) |
|
80 | m = scmutil.match(repo[node1], files) |
General Comments 0
You need to be logged in to leave comments.
Login now