Show More
@@ -462,9 +462,10 b' test bisecting command' | |||||
462 |
|
462 | |||
463 | $ cat > script.py <<EOF |
|
463 | $ cat > script.py <<EOF | |
464 | > #!$PYTHON |
|
464 | > #!$PYTHON | |
|
465 | > from __future__ import absolute_import | |||
465 | > import sys |
|
466 | > import sys | |
466 |
> from mercurial import |
|
467 | > from mercurial import hg, ui as uimod | |
467 | > repo = hg.repository(ui.ui.load(), '.') |
|
468 | > repo = hg.repository(uimod.ui.load(), '.') | |
468 | > if repo['.'].rev() < 6: |
|
469 | > if repo['.'].rev() < 6: | |
469 | > sys.exit(1) |
|
470 | > sys.exit(1) | |
470 | > EOF |
|
471 | > EOF |
General Comments 0
You need to be logged in to leave comments.
Login now