##// END OF EJS Templates
tests: update test-strip to pass our import checker
Augie Fackler -
r33989:ed88f90b default
parent child Browse files
Show More
@@ -961,7 +961,8 Use delayedstrip to strip inside a trans
961 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
961 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
962 $ echo 3 >> I
962 $ echo 3 >> I
963 $ cat > $TESTTMP/delayedstrip.py <<EOF
963 $ cat > $TESTTMP/delayedstrip.py <<EOF
964 > from mercurial import repair, commands
964 > from __future__ import absolute_import
965 > from mercurial import commands, repair
965 > def reposetup(ui, repo):
966 > def reposetup(ui, repo):
966 > def getnodes(expr):
967 > def getnodes(expr):
967 > return [repo.changelog.node(r) for r in repo.revs(expr)]
968 > return [repo.changelog.node(r) for r in repo.revs(expr)]
General Comments 0
You need to be logged in to leave comments. Login now