changeset 6616:e9dfe4e3ee6f

hgk: difftree must match all files when supplied list is empty
author Patrick Mezard <pmezard@gmail.com>
date Sun, 18 May 2008 23:31:54 +0200
parents 0697e7818d07
children de83188043b2
files hgext/hgk.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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: