diff tests/test-narrow-debugcommands.t @ 38878:f64ebe7d2259

narrowspec: use sparse.parseconfig() to parse narrowspec file (BC) This also make narrow files use 'include' and 'exclude' instead of plural forms which are 'includes' and 'excludes'. This is BC because existing narrowspecs have to replace excludes, includes words with exclude and include i.e. their singular versions. Differential Revision: https://phab.mercurial-scm.org/D4057
author Pulkit Goyal <pulkit@yandex-team.ru>
date Fri, 03 Aug 2018 22:29:04 +0530
parents d4e62df1c73d
children 576eef1ab43d
line wrap: on
line diff
--- a/tests/test-narrow-debugcommands.t	Fri Aug 03 22:24:58 2018 +0530
+++ b/tests/test-narrow-debugcommands.t	Fri Aug 03 22:29:04 2018 +0530
@@ -2,9 +2,9 @@
   $ hg init repo
   $ cd repo
   $ cat << EOF > .hg/narrowspec
-  > [includes]
+  > [include]
   > path:foo
-  > [excludes]
+  > [exclude]
   > EOF
   $ echo treemanifest >> .hg/requires
   $ echo narrowhg-experimental >> .hg/requires