diff -r e5d7f99a3063 -r a29580905771 mercurial/error.py --- a/mercurial/error.py Sun Apr 16 11:28:02 2017 -0700 +++ b/mercurial/error.py Sun Apr 16 11:12:37 2017 -0700 @@ -253,5 +253,5 @@ class CorruptedState(Exception): """error raised when a command is not able to read its state from file""" -class RichIOError(Abort): - """An IOError that can also have a hint attached.""" +class PeerTransportError(Abort): + """Transport-level I/O error when communicating with a peer repo."""