diff doc/hgrc.5.txt @ 6862:7192876ac329

ui: add an option to prompt for the username when it isn't provided When ui.askusername is set and not username are specified on the command line, in hgrc or in the variables $HGUSER or $EMAIL, then hg will prompt for the username. Feature requested, and documentation provided by Mark Edgington.
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Wed, 06 Aug 2008 15:10:05 +0200
parents 944a292d522a
children ceb8aef03aa7
line wrap: on
line diff
--- a/doc/hgrc.5.txt	Sat Aug 02 23:45:10 2008 +0200
+++ b/doc/hgrc.5.txt	Wed Aug 06 15:10:05 2008 +0200
@@ -547,6 +547,12 @@
     (hashes for the repository base and for tip) in archives created by
     the hg archive command or downloaded via hgweb.
     Default is true.
+  askusername;;
+    Whether to prompt for a username when committing. If True, and
+    neither $HGUSER nor $EMAIL has been specified, then the user will
+    be prompted to enter a username.  If no username is entered, the
+    default USER@HOST is used instead.
+    Default is False.
   debug;;
     Print debugging information. True or False. Default is False.
   editor;;