view tests/test-install.t @ 14975:b64538363dbe

i18n: use getattr instead of hasattr Using getattr instead of util.safehasattr here to avoid adding another dependency for i18n.
author Augie Fackler <durin42@gmail.com>
date Mon, 25 Jul 2011 20:46:30 -0500
parents 85d74f6babf6
children 797bf1dc1ff8
line wrap: on
line source

hg debuginstall
  $ hg debuginstall
  Checking encoding (ascii)...
  Checking installed modules (*/mercurial)... (glob)
  Checking templates...
  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...
  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]