# HG changeset patch # User Patrick Mezard # Date 1211146314 -7200 # Node ID e9dfe4e3ee6f994df287b6bf4a1ab4cfea8acbfa # Parent 0697e7818d07b12094481f180d777a2a59e6d479 hgk: difftree must match all files when supplied list is empty diff -r 0697e7818d07 -r e9dfe4e3ee6f hgext/hgk.py --- a/hgext/hgk.py Sun May 18 23:09:59 2008 +0200 +++ b/hgext/hgk.py Sun May 18 23:31:54 2008 +0200 @@ -55,7 +55,7 @@ assert node2 is not None mmap = repo.changectx(node1).manifest() mmap2 = repo.changectx(node2).manifest() - m = cmdutil.matchfiles(repo, files) + m = cmdutil.match(repo, files) status = repo.status(node1, node2, match=m)[:5] modified, added, removed, deleted, unknown = status @@ -93,7 +93,7 @@ if opts['patch']: if opts['pretty']: catcommit(ui, repo, node2, "") - m = cmdutil.matchfiles(repo, files) + m = cmdutil.match(repo, files) patch.diff(repo, node1, node2, match=m, opts=patch.diffopts(ui, {'git': True})) else: