diff tests/test-rhg.t @ 48077:ba773bd99203

rhg: fall back if subrepos are detected We do not handle subrepos yet, the addition of the support for `-r .` will break if we don't fall back. Differential Revision: https://phab.mercurial-scm.org/D11403
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 13 Sep 2021 15:12:35 +0200
parents b44e1184b7e1
children 08c8cd2527bc
line wrap: on
line diff
--- a/tests/test-rhg.t	Wed Sep 01 18:09:35 2021 +0200
+++ b/tests/test-rhg.t	Mon Sep 13 15:12:35 2021 +0200
@@ -370,3 +370,12 @@
   $ cat .hg/blackbox.log.1
   ????/??/?? ??:??:??.??? * @d3873e73d99ef67873dac33fbcc66268d5d2b6f4 (*)> (rust) files (glob)
 
+Subrepos are not supported
+
+  $ touch .hgsub
+  $ $NO_FALLBACK rhg files
+  unsupported feature: subrepos (.hgsub is present)
+  [252]
+  $ rhg files
+  a
+  $ rm .hgsub