changeset 41756:31b84c72ada0

subrepo: demonstrate broken `hg files` with ui.relative-paths=no Differential Revision: https://phab.mercurial-scm.org/D5977
author Martin von Zweigbergk <martinvonz@google.com>
date Sun, 17 Feb 2019 09:05:28 -0800
parents 2dcb637aaf10
children 980e05204ed8
files tests/test-subrepo.t
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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