[PATCH 3 of 3] config: propose some sample global config file
Jordi Gutiérrez Hermoso
jordigh at octave.org
Sun Aug 24 18:51:37 CDT 2014
# HG changeset patch
# User Jordi Gutiérrez Hermoso <jordigh at octave.org>
# Date 1408923946 14400
# Sun Aug 24 19:45:46 2014 -0400
# Node ID 7cf9cc9359ec5b34cb9b861ddb2852d31bc204bc
# Parent 12718916f03b4a917609ecf41bb8d93fbd1024ca
config: propose some sample global config file
An example of what could be suggested to the user as a global config
file. Trying to be conservative here, and only suggesting the safest
possible extensions. In addition to the user-level extensions, the
blackbox extension is something a sysadmin might reasonable want to
enable for every repo on the system.
diff --git a/mercurial/config.py b/mercurial/config.py
--- a/mercurial/config.py
+++ b/mercurial/config.py
@@ -36,7 +36,15 @@ username =
'global':
"""# example system-wide hg config (see "hg help config" for more info)
-""",
+
+[extensions]
+# Uncomment these lines for some possible extensions
+# (see "hg help extensions" for more info)
+#
+# blackbox =
+# progress =
+# color =
+# pager =""",
}
class config(object):
More information about the Mercurial-devel
mailing list