tests/test-status.t
changeset 41506 02186c6871ac
parent 40278 125fc478719f
child 41591 5f827e9ce870
--- a/tests/test-status.t	Tue Jan 29 15:37:14 2019 -0800
+++ b/tests/test-status.t	Tue Jan 29 15:37:35 2019 -0800
@@ -133,6 +133,22 @@
 relative paths can be requested
 
   $ cat >> $HGRCPATH <<EOF
+  > [ui]
+  > relative-paths = True
+  > EOF
+  $ hg status --cwd a
+  ? 1/in_a_1
+  ? in_a
+  ? ../b/1/in_b_1
+  ? ../b/2/in_b_2
+  ? ../b/in_b
+  ? ../in_root
+
+commands.status.relative overrides ui.relative-paths
+
+  $ cat >> $HGRCPATH <<EOF
+  > [ui]
+  > relative-paths = False
   > [commands]
   > status.relative = True
   > EOF