This is an archive of the discontinued Mercurial Phabricator instance.

keepalive: add more context to bad status line errors
ClosedPublic

Authored by indygreg on Sep 25 2017, 5:05 AM.

Details

Summary

As the TODO in the test said, the previous error message was not
very helpful. Let's improve things.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Sep 25 2017, 5:05 AM
yuja accepted this revision.Sep 26 2017, 9:09 AM
yuja added a subscriber: yuja.

Queued, thanks.

mercurial/keepalive.py
238

py3nit: we'll have to convert the translated message to unicode
because URLError is a subclass of IOError.

This revision is now accepted and ready to land.Sep 26 2017, 9:09 AM
This revision was automatically updated to reflect the committed changes.