Show More
@@ -55,7 +55,7 b' def difftree(ui, repo, node1=None, node2' | |||||
55 | assert node2 is not None |
|
55 | assert node2 is not None | |
56 | mmap = repo.changectx(node1).manifest() |
|
56 | mmap = repo.changectx(node1).manifest() | |
57 | mmap2 = repo.changectx(node2).manifest() |
|
57 | mmap2 = repo.changectx(node2).manifest() | |
58 |
m = cmdutil.match |
|
58 | m = cmdutil.match(repo, files) | |
59 | status = repo.status(node1, node2, match=m)[:5] |
|
59 | status = repo.status(node1, node2, match=m)[:5] | |
60 | modified, added, removed, deleted, unknown = status |
|
60 | modified, added, removed, deleted, unknown = status | |
61 |
|
61 | |||
@@ -93,7 +93,7 b' def difftree(ui, repo, node1=None, node2' | |||||
93 | if opts['patch']: |
|
93 | if opts['patch']: | |
94 | if opts['pretty']: |
|
94 | if opts['pretty']: | |
95 | catcommit(ui, repo, node2, "") |
|
95 | catcommit(ui, repo, node2, "") | |
96 |
m = cmdutil.match |
|
96 | m = cmdutil.match(repo, files) | |
97 | patch.diff(repo, node1, node2, match=m, |
|
97 | patch.diff(repo, node1, node2, match=m, | |
98 | opts=patch.diffopts(ui, {'git': True})) |
|
98 | opts=patch.diffopts(ui, {'git': True})) | |
99 | else: |
|
99 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now