Merge lp:~vila/udd/801776-drop-transport into lp:udd
Status: | Merged |
---|---|
Merged at revision: | 531 |
Proposed branch: | lp:~vila/udd/801776-drop-transport |
Merge into: | lp:udd |
Diff against target: |
33 lines (+9/-13) 1 file modified
udd/icommon.py (+9/-13) |
To merge this branch: | bzr merge lp:~vila/udd/801776-drop-transport |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pool | Approve | ||
Review via email: mp+80190@code.launchpad.net |
Description of the change
This makes refresh_
The aim of refresh_
stale because it hasn't been used recently and the server closed the
connection.
I've grepped the logs of all packages and the conclusion is that we missed a
bunch of cases where bzrlib raise an exception which really means the
transport is stale and we aborted the import instead of letting the caller
create a new connection.
The proposed version doesn't try to catch all valid exceptions, it logs them
for investigation (time will tell if it's really worth the effort) and just
drop the transport.
If nothing else, this patch will allow the chromium-browser to succeed.
vote approve