tests/test-install.t
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
Mon, 06 Jan 2014 14:26:49 -0800
changeset 20263 ea4996754d91
parent 17392 bdd248666dbc
child 20574 5614f8cf0861
permissions -rw-r--r--
branchmap: simplify update code We drop iterrevs which are not needed anymore. The know head are never a descendant of the updated set. It was possible with the old strip code. This simplification make the code easier to read an update.

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]