##// END OF EJS Templates
hgk: difftree must match all files when supplied list is empty
Patrick Mezard -
r6616:e9dfe4e3 default
parent child Browse files
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.matchfiles(repo, files)
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.matchfiles(repo, files)
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