tests/test-install.t
author Brodie Rao <brodie@sf.io>
Sun, 13 May 2012 13:18:06 +0200
changeset 16705 c2d9ef43ff6c
parent 15447 9910f60a37ee
child 16934 0c9c41e53f1a
permissions -rw-r--r--
check-code: ignore naked excepts with a "re-raise" comment This also promotes the naked except check from a warning to an error.

hg debuginstall
  $ hg debuginstall
  Checking encoding (ascii)...
  Checking installed modules (*mercurial)... (glob)
  Checking templates (*mercurial?templates)... (glob)
  Checking commit editor...
  Checking username...
  No problems detected

hg debuginstall with no username
  $ HGUSER= hg debuginstall
  Checking encoding (ascii)...
  Checking installed modules (*mercurial)... (glob)
  Checking templates (*mercurial?templates)... (glob)
  Checking commit editor...
  Checking username...
   no username supplied (see "hg help config")
   (specify a username in your configuration file)
  1 problems detected, please check your install!
  [1]