diff tests/test-rhg.t @ 48439:9cf5ac8c7109

rhg: support the new extension suboptions syntax See inline comments Differential Revision: https://phab.mercurial-scm.org/D11874
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 07 Dec 2021 12:34:58 +0100
parents 8960295b9246
children abbecb5cd6f3
line wrap: on
line diff
--- a/tests/test-rhg.t	Wed Dec 08 10:14:37 2021 +0100
+++ b/tests/test-rhg.t	Tue Dec 07 12:34:58 2021 +0100
@@ -380,3 +380,13 @@
   $ rhg files
   a
   $ rm .hgsub
+
+The `:required` extension suboptions are correctly ignored
+
+  $ echo "[extensions]" >> $HGRCPATH
+  $ echo "blackbox:required = yes" >> $HGRCPATH
+  $ rhg files
+  a
+  $ echo "*:required = yes" >> $HGRCPATH
+  $ rhg files
+  a