tests/test-install.t
author Mads Kiilerich <mads@kiilerich.com>
Thu, 10 Jan 2013 00:44:23 +0100
changeset 18326 614f769e6aa7
parent 17392 bdd248666dbc
child 20574 5614f8cf0861
permissions -rw-r--r--
util: copyfile: remove dest before copying This prevents spurious problems writing to locked files on Windows.

hg debuginstall
  $ hg debuginstall
  checking encoding (ascii)...
  checking Python lib (*lib*)... (glob)
  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 Python lib (*lib*)... (glob)
  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]