tests/test-status.t
changeset 31594 7e3b145f8247
parent 31432 568d80b24b3a
child 31769 bdcaf612e75a
--- a/tests/test-status.t	Tue Mar 21 21:26:52 2017 -0700
+++ b/tests/test-status.t	Tue Mar 21 17:50:44 2017 -0700
@@ -107,6 +107,27 @@
   ? a/in_a
   ? b/in_b
 
+relative paths can be requested
+
+  $ cat >> $HGRCPATH <<EOF
+  > [commands]
+  > status.relative = 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
+  $ HGPLAIN=1 hg status --cwd a
+  ? a/1/in_a_1
+  ? a/in_a
+  ? b/1/in_b_1
+  ? b/2/in_b_2
+  ? b/in_b
+  ? in_root
+
   $ cd ..
 
   $ hg init repo2