tests/test-narrow.t
branchstable
changeset 52718 1c83ebf78f74
parent 52717 a7669e7b0355
child 53005 8c85d139ff64
--- a/tests/test-narrow.t	Fri Jan 10 12:40:42 2025 +0000
+++ b/tests/test-narrow.t	Fri Jan 10 16:14:40 2025 +0000
@@ -62,6 +62,9 @@
   $ hg clone --narrow ssh://user@dummy/master foo --include ' '
   abort: leading or trailing whitespace is not allowed in narrowspec paths
   [255]
+  $ hg clone --narrow ssh://user@dummy/master foo --include 'a//c'
+  abort: empty path components are not allowed in narrowspec paths
+  [255]
 
 Names with '.' in them are OK.
   $ hg clone --narrow ./master should-work --include a/.b/c