view tests/test-install.t @ 15388:eb6c0d47c3d5 stable

setup: set whole env for running hg even if .hg doesn't exist (issue3073) The issue was partially fixed by b357a972d6cd, but there were missing variables to run build_hgextindex.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 31 Oct 2011 00:42:32 +0900
parents 797bf1dc1ff8
children 9910f60a37ee
line wrap: on
line source

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]