tests/test-install.t
author Patrick Mezard <pmezard@gmail.com>
Mon, 24 Jan 2011 23:25:46 +0100
changeset 13295 fb446228c0d4
parent 12376 97ffc68f71d3
child 13751 85d74f6babf6
permissions -rw-r--r--
record: do not include files into changes count This turns the prompt sequence from something like: $ examine changes to foo? $ record change 1/4 to foo? $ record change 2/4 to foo? $ examine changes to bar? $ record change 4/4 to bar? into: $ examine changes to foo? $ record change 1/3 to foo? $ record change 2/3 to foo? $ examine change to bar? $ record change 3/3 to bar?

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