changeset 50538:a7513d0d451b

rhg: test `rhg files --config ui.relative-paths ...` Add some tests. All of these are falling back for now, will be fixed in follow-up commits.
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Mon, 29 May 2023 16:47:39 +0100
parents 6a019a037085
children 74e4dbb0fcd5
files tests/test-rhg.t
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-rhg.t	Thu Jun 01 12:05:32 2023 +0100
+++ b/tests/test-rhg.t	Mon May 29 16:47:39 2023 +0100
@@ -71,6 +71,18 @@
   ../../../file2
   ../../../file3
 
+  $ $NO_FALLBACK rhg files --config ui.relative-paths=legacy
+  unsupported feature: non-default ui.relative-paths
+  [252]
+
+  $ $NO_FALLBACK rhg files --config ui.relative-paths=false
+  unsupported feature: non-default ui.relative-paths
+  [252]
+
+  $ $NO_FALLBACK rhg files --config ui.relative-paths=true
+  unsupported feature: non-default ui.relative-paths
+  [252]
+
 Listing tracked files through broken pipe
   $ $NO_FALLBACK rhg files | head -n 1
   ../../../file1