tests/test-commit-interactive-curses.t
changeset 33262 8e6f4939a69a
parent 32199 2bf62ca7072f
child 33334 20f533a92eda
equal deleted inserted replaced
33261:be49f3fdcd10 33262:8e6f4939a69a
   340 Check ui.interface logic for the chunkselector
   340 Check ui.interface logic for the chunkselector
   341 
   341 
   342 The default interface is text
   342 The default interface is text
   343   $ cp $HGRCPATH.pretest $HGRCPATH
   343   $ cp $HGRCPATH.pretest $HGRCPATH
   344   $ chunkselectorinterface() {
   344   $ chunkselectorinterface() {
   345   > python <<EOF
   345   > $PYTHON <<EOF
   346   > from mercurial import hg, ui;\
   346   > from mercurial import hg, ui;\
   347   > repo = hg.repository(ui.ui.load(), ".");\
   347   > repo = hg.repository(ui.ui.load(), ".");\
   348   > print repo.ui.interface("chunkselector")
   348   > print repo.ui.interface("chunkselector")
   349   > EOF
   349   > EOF
   350   > }
   350   > }