tests/test-install.t
author Pierre-Yves.David@ens-lyon.org
Thu, 12 Jul 2012 19:58:07 +0200
changeset 17219 494a970f68de
parent 16934 0c9c41e53f1a
child 17392 bdd248666dbc
permissions -rw-r--r--
obsolete: refactor writemarkers to only encode them The function is now able to write the version header as necessary. The function now yield bytes to be written to a stream. This should ease later use of this function for wireprotocol based exchanged. Prepare the public use of the writemarker by wireprotocol function.

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]