tests/test-commit-interactive-curses.t
changeset 30559 d83ca854fa21
parent 30236 141cb12c0175
child 30831 9f264adbe75b
equal deleted inserted replaced
30557:cbeb54ec0481 30559:d83ca854fa21
   323 The default interface is text
   323 The default interface is text
   324   $ cp $HGRCPATH.pretest $HGRCPATH
   324   $ cp $HGRCPATH.pretest $HGRCPATH
   325   $ chunkselectorinterface() {
   325   $ chunkselectorinterface() {
   326   > python <<EOF
   326   > python <<EOF
   327   > from mercurial import hg, ui, parsers;\
   327   > from mercurial import hg, ui, parsers;\
   328   > repo = hg.repository(ui.ui(), ".");\
   328   > repo = hg.repository(ui.ui.load(), ".");\
   329   > print repo.ui.interface("chunkselector")
   329   > print repo.ui.interface("chunkselector")
   330   > EOF
   330   > EOF
   331   > }
   331   > }
   332   $ chunkselectorinterface
   332   $ chunkselectorinterface
   333   text
   333   text