diff -r d51c658d3f04 -r 56b2bcea2529 mercurial/util.py --- a/mercurial/util.py Mon Oct 05 22:49:24 2015 -0700 +++ b/mercurial/util.py Thu Oct 08 12:55:45 2015 -0700 @@ -1925,7 +1925,7 @@ If port is an integer, it's returned as is. If it's a string, it's looked up using socket.getservbyname(). If there's no matching - service, util.Abort is raised. + service, error.Abort is raised. """ try: return int(port)