hgk: difftree must match all files when supplied list is empty
authorPatrick Mezard <pmezard@gmail.com>
Sun, 18 May 2008 23:31:54 +0200
changeset 6616 e9dfe4e3ee6f
parent 6615 0697e7818d07
child 6617 de83188043b2
hgk: difftree must match all files when supplied list is empty
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: