diff tests/test-hgignore.t @ 32502:3026f19b4b01

match: remove support for non-include patterns from includematcher The includematcher will always get at least one include pattern and will never get any non-include patterns, so we can remove most of the code in it. This patch does mostly straight-forward deletions of code. We will clean up further later.
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 19 May 2017 13:36:34 -0700
parents 7095dbc266e3
children e6ff007e107e
line wrap: on
line diff
--- a/tests/test-hgignore.t	Fri May 19 22:36:14 2017 -0700
+++ b/tests/test-hgignore.t	Fri May 19 13:36:34 2017 -0700
@@ -164,7 +164,7 @@
   A b.o
 
   $ hg debugignore
-  <includematcher patterns=None, includes='(?:(?:|.*/)[^/]*(?:/|$))'>
+  <includematcher includes='(?:(?:|.*/)[^/]*(?:/|$))'>
 
   $ hg debugignore b.o
   b.o is ignored