diff -r cfb26146a8cd -r 1ad9da968a2e mercurial/httpclient/socketutil.py --- a/mercurial/httpclient/socketutil.py Thu Dec 31 15:39:38 2015 +0000 +++ b/mercurial/httpclient/socketutil.py Thu Dec 31 13:19:20 2015 -0500 @@ -32,6 +32,8 @@ socket.create_connection method, but fall back to the old methods if those are unavailable. """ +from __future__ import absolute_import + import logging import socket