##// END OF EJS Templates
clonebundles: demonstrate bad behaviour when unknown scheme is present
Mathias De Mare -
r51434:ef7f943e stable
parent child Browse files
Show More
@@ -59,6 +59,15 b' Manifest file with invalid URL aborts'
59 (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false")
59 (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false")
60 [255]
60 [255]
61
61
62 Manifest file with URL with unknown scheme skips the URL
63 $ echo 'weirdscheme://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest
64 $ hg clone http://localhost:$HGPORT unknown-scheme
65 applying clone bundle from weirdscheme://does.not.exist/bundle.hg (known-bad-output !)
66 error fetching bundle: unknown url type: weirdscheme (known-bad-output !)
67 abort: error applying bundle (known-bad-output !)
68 (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false") (known-bad-output !)
69 [255]
70
62 Server is not running aborts
71 Server is not running aborts
63
72
64 $ echo "http://localhost:$HGPORT1/bundle.hg" > server/.hg/clonebundles.manifest
73 $ echo "http://localhost:$HGPORT1/bundle.hg" > server/.hg/clonebundles.manifest
General Comments 0
You need to be logged in to leave comments. Login now