hgkw/keyword.py
branchkwmap-templates
changeset 158 900a9e4d7f82
parent 156 0382bccf861e
child 159 28fd5b5eb3ad
--- a/hgkw/keyword.py	Sat Mar 24 15:57:07 2007 +0100
+++ b/hgkw/keyword.py	Fri Mar 30 17:12:38 2007 +0200
@@ -276,9 +276,9 @@
                     return node
 
                 candidates = self.changelog.read(node)[3]
-                candidates = [f for f in candidates if f not in removed
-                        and not os.path.islink(self.wjoin(f))
-                        and self.kwfmatcher(f)]
+                candidates = [f for f in candidates if self.kwfmatcher(f)
+                        and f not in removed
+                        and not os.path.islink(self.wjoin(f))]
                 if not candidates:
                     return node