Show More
@@ -1795,7 +1795,7 b' def trypullbundlefromurl(ui, repo, url):' | |||||
1795 | except urllib2.HTTPError as e: |
|
1795 | except urllib2.HTTPError as e: | |
1796 | ui.warn(_('HTTP error fetching bundle: %s\n') % str(e)) |
|
1796 | ui.warn(_('HTTP error fetching bundle: %s\n') % str(e)) | |
1797 | except urllib2.URLError as e: |
|
1797 | except urllib2.URLError as e: | |
1798 | ui.warn(_('error fetching bundle: %s\n') % e.reason) |
|
1798 | ui.warn(_('error fetching bundle: %s\n') % e.reason[1]) | |
1799 |
|
1799 | |||
1800 | return False |
|
1800 | return False | |
1801 | finally: |
|
1801 | finally: |
@@ -80,7 +80,7 b' Manifest file with invalid URL aborts' | |||||
80 | $ echo 'http://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest |
|
80 | $ echo 'http://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest | |
81 | $ hg clone http://localhost:$HGPORT 404-url |
|
81 | $ hg clone http://localhost:$HGPORT 404-url | |
82 | applying clone bundle from http://does.not.exist/bundle.hg |
|
82 | applying clone bundle from http://does.not.exist/bundle.hg | |
83 |
error fetching bundle: |
|
83 | error fetching bundle: * not known (glob) | |
84 | abort: error applying bundle |
|
84 | abort: error applying bundle | |
85 | (if this error persists, consider contacting the server operator or disable clone bundles via "--config experimental.clonebundles=false") |
|
85 | (if this error persists, consider contacting the server operator or disable clone bundles via "--config experimental.clonebundles=false") | |
86 | [255] |
|
86 | [255] | |
@@ -90,7 +90,7 b' Server is not running aborts' | |||||
90 | $ echo "http://localhost:$HGPORT1/bundle.hg" > server/.hg/clonebundles.manifest |
|
90 | $ echo "http://localhost:$HGPORT1/bundle.hg" > server/.hg/clonebundles.manifest | |
91 | $ hg clone http://localhost:$HGPORT server-not-runner |
|
91 | $ hg clone http://localhost:$HGPORT server-not-runner | |
92 | applying clone bundle from http://localhost:$HGPORT1/bundle.hg |
|
92 | applying clone bundle from http://localhost:$HGPORT1/bundle.hg | |
93 |
error fetching bundle: |
|
93 | error fetching bundle: Connection refused | |
94 | abort: error applying bundle |
|
94 | abort: error applying bundle | |
95 | (if this error persists, consider contacting the server operator or disable clone bundles via "--config experimental.clonebundles=false") |
|
95 | (if this error persists, consider contacting the server operator or disable clone bundles via "--config experimental.clonebundles=false") | |
96 | [255] |
|
96 | [255] |
General Comments 0
You need to be logged in to leave comments.
Login now