diff --git a/tests/test-strip.t b/tests/test-strip.t --- a/tests/test-strip.t +++ b/tests/test-strip.t @@ -961,7 +961,8 @@ Use delayedstrip to strip inside a trans 2 files updated, 0 files merged, 0 files removed, 0 files unresolved $ echo 3 >> I $ cat > $TESTTMP/delayedstrip.py < from mercurial import repair, commands + > from __future__ import absolute_import + > from mercurial import commands, repair > def reposetup(ui, repo): > def getnodes(expr): > return [repo.changelog.node(r) for r in repo.revs(expr)]