tests/test-clonebundles.t
changeset 44282 877805928f85
parent 42964 be0d54cce8f4
child 44628 4dacd0cef146
--- a/tests/test-clonebundles.t	Fri Dec 13 16:49:05 2019 +0100
+++ b/tests/test-clonebundles.t	Wed Jan 22 12:11:35 2020 -0500
@@ -455,6 +455,19 @@
   no changes found
   2 local changesets published
 
+Test a bad attribute list
+
+  $ hg --config ui.clonebundleprefers=bad clone -U http://localhost:$HGPORT bad-input
+  abort: invalid ui.clonebundleprefers item: bad
+  (each comma separated item should be key=value pairs)
+  [255]
+  $ hg --config ui.clonebundleprefers=key=val,bad,key2=val2 clone \
+  >    -U http://localhost:$HGPORT bad-input
+  abort: invalid ui.clonebundleprefers item: bad
+  (each comma separated item should be key=value pairs)
+  [255]
+
+
 Test interaction between clone bundles and --stream
 
 A manifest with just a gzip bundle