view tests/test-install.t @ 12093:cd895084a4cd

alias: on --debug, print expansion when it has invalid arguments
author Brodie Rao <brodie@bitheap.org>
date Fri, 27 Aug 2010 20:45:18 -0400
parents ff7c1118a83a
children 4134686b83e1
line wrap: on
line source

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

hg debuginstall with no username
  $ HGUSER= hg debuginstall
  Checking encoding (ascii)...
  Checking installed modules \(.*/mercurial\)...
  Checking templates...
  Checking patch...
  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!

  $ true