config: propose some sample global config file
authorJordi Gutiérrez Hermoso <jordigh@octave.org>
Sun, 24 Aug 2014 19:45:46 -0400
changeset 22384 091306562855
parent 22383 f58b41f6708b
child 22385 95032d2cf96f
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.
mercurial/config.py
--- a/mercurial/config.py	Wed Aug 13 17:05:48 2014 -0400
+++ b/mercurial/config.py	Sun Aug 24 19:45:46 2014 -0400
@@ -31,7 +31,15 @@
 
     '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):