tests/test-extension.t
changeset 39221 d7ac6dafc609
parent 39190 68b6383a840a
child 39621 23b749b84b8a
equal deleted inserted replaced
39220:0998f843fcb9 39221:d7ac6dafc609
  1252   >     pass
  1252   >     pass
  1253   > @command(123)
  1253   > @command(123)
  1254   > def g():
  1254   > def g():
  1255   >     pass
  1255   >     pass
  1256   > EOF
  1256   > EOF
  1257   $ hg --config extensions.path=./path.py help foo > /dev/null
  1257   $ hg --config extensions.path=./path.py help foo
  1258   abort: no such help topic: foo (no-windows !)
  1258   abort: no such help topic: foo
  1259   (try 'hg help --keyword foo') (no-windows !)
  1259   (try 'hg help --keyword foo')
  1260   \x1b[0;31mabort: no such help topic: foo\x1b[0m (esc) (windows !)
       
  1261   \x1b[0;31m(try 'hg help --keyword foo')\x1b[0m (esc) (windows !)
       
  1262   [255]
  1260   [255]
  1263 
  1261 
  1264   $ cat > throw.py <<EOF
  1262   $ cat > throw.py <<EOF
  1265   > from mercurial import commands, registrar, util
  1263   > from mercurial import commands, registrar, util
  1266   > cmdtable = {}
  1264   > cmdtable = {}