diff -r 1139d7cf9405 -r 7b200566e474 mercurial/pushkey.py --- a/mercurial/pushkey.py Sat Aug 08 19:57:10 2015 -0700 +++ b/mercurial/pushkey.py Sat Aug 08 19:57:27 2015 -0700 @@ -5,7 +5,14 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -import bookmarks, phases, obsolete, encoding +from __future__ import absolute_import + +from . import ( + bookmarks, + encoding, + obsolete, + phases, +) def _nslist(repo): n = {}