diff --git a/tests/test-log-exthook.t b/tests/test-log-exthook.t --- a/tests/test-log-exthook.t +++ b/tests/test-log-exthook.t @@ -2,8 +2,12 @@ Test hg log changeset printer external h ------------------------------------------- $ cat > $TESTTMP/logexthook.py < from mercurial import repair, commands - > from mercurial import cmdutil + > from __future__ import absolute_import + > from mercurial import ( + > cmdutil, + > commands, + > repair, + > ) > def rot13description(self, ctx): > summary = "summary".encode('rot13') > description = ctx.description().strip().splitlines()[0].encode('rot13')