tests/test-bisect.t
branchstable
changeset 49366 288de6f5d724
parent 48876 42d2b31cee0b
child 49621 55c6ebd11cb9
equal deleted inserted replaced
49364:e8ea403b1c46 49366:288de6f5d724
   460 
   460 
   461 test bisecting command
   461 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
       
   466   > import sys
   465   > import sys
   467   > from mercurial import hg, ui as uimod
   466   > from mercurial import hg, ui as uimod
   468   > repo = hg.repository(uimod.ui.load(), b'.')
   467   > repo = hg.repository(uimod.ui.load(), b'.')
   469   > if repo[b'.'].rev() < 6:
   468   > if repo[b'.'].rev() < 6:
   470   >     sys.exit(1)
   469   >     sys.exit(1)