tests/test-status.t
changeset 41577 5f827e9ce870
parent 41492 02186c6871ac
child 41735 67333663d49e
--- a/tests/test-status.t	Tue Jan 29 15:49:20 2019 -0800
+++ b/tests/test-status.t	Fri Feb 01 22:52:09 2019 -0800
@@ -132,11 +132,7 @@
 
 relative paths can be requested
 
-  $ cat >> $HGRCPATH <<EOF
-  > [ui]
-  > relative-paths = True
-  > EOF
-  $ hg status --cwd a
+  $ hg status --cwd a --config ui.relative-paths=yes
   ? 1/in_a_1
   ? in_a
   ? ../b/1/in_b_1
@@ -144,6 +140,13 @@
   ? ../b/in_b
   ? ../in_root
 
+  $ hg status --cwd a . --config ui.relative-paths=legacy
+  ? 1/in_a_1
+  ? in_a
+  $ hg status --cwd a . --config ui.relative-paths=no
+  ? a/1/in_a_1
+  ? a/in_a
+
 commands.status.relative overrides ui.relative-paths
 
   $ cat >> $HGRCPATH <<EOF