tests/test-install.t
author Matt Mackall <mpm@selenic.com>
Thu, 03 May 2012 16:03:08 -0500
branchstable
changeset 16573 5983de86462c
parent 15447 9910f60a37ee
child 16934 0c9c41e53f1a
permissions -rw-r--r--
bookmarks: catch the proper exception for missing revisions This fixes a regression from 1.7

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]