subrepo: demonstrate broken `hg files` with ui.relative-paths=no
authorMartin von Zweigbergk <martinvonz@google.com>
Sun, 17 Feb 2019 09:05:28 -0800
changeset 41747 31b84c72ada0
parent 41746 2dcb637aaf10
child 41748 980e05204ed8
subrepo: demonstrate broken `hg files` with ui.relative-paths=no Differential Revision: https://phab.mercurial-scm.org/D5977
tests/test-subrepo.t
--- a/tests/test-subrepo.t	Mon Feb 18 03:39:47 2019 +0530
+++ b/tests/test-subrepo.t	Sun Feb 17 09:05:28 2019 -0800
@@ -31,6 +31,13 @@
   a
   s/a
 
+`hg files` respects ui.relative-paths
+BROKEN: shows subrepo paths relative to the subrepo
+  $ hg files -S --config ui.relative-paths=no
+  .hgsub
+  a
+  a
+
   $ hg -R s ci -Ams0
   $ hg sum
   parent: 0:f7b1eb17ad24 tip