view tests/test-install.t @ 14663:88cb01c4575e

update: check wc.dirty() before setting overwrite=True merge.update() was missing a few dirtiness checks from workingcontext, including subrepo cleanliness checks. Using wc.dirty() instead of one-off checks for various forms of dirtiness will be significantly safer.
author Augie Fackler <durin42@gmail.com>
date Fri, 17 Jun 2011 15:21:02 -0500
parents 85d74f6babf6
children 797bf1dc1ff8
line wrap: on
line source

hg debuginstall
  $ hg debuginstall
  Checking encoding (ascii)...
  Checking installed modules (*/mercurial)... (glob)
  Checking templates...
  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...
  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]