diff mercurial/help.py @ 47017:da4e6d7a8fdd

help: add topic about evolution, based on text from evolve extension I've taken the text produced by `hg help evolution` when the evolve extension is enabled and made that available by the same command with just hg core. Changes I've made: * Added "(EXPERIMENTAL)" to the title. (That doesn't hide the topic from `hg help`, though.) * Replaced old-style `experimental.evolution=<names>` config by new-style `experimental.evolution.<name>=true`. * Replaces a "obsolete markers" by "obsolescence markers". * Removed most content from "Current feature status". When the evolve extension is enabled, its help text takes precedence. Differential Revision: https://phab.mercurial-scm.org/D10516
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 27 Apr 2021 14:59:45 -0700
parents d4ba4d51f85f
children e8a576de703f
line wrap: on
line diff
--- a/mercurial/help.py	Thu Feb 11 15:02:57 2021 -0800
+++ b/mercurial/help.py	Tue Apr 27 14:59:45 2021 -0700
@@ -540,6 +540,12 @@
             TOPIC_CATEGORY_CONCEPTS,
         ),
         (
+            [b"evolution"],
+            _(b"Safely rewriting history (EXPERIMENTAL)"),
+            loaddoc(b'evolution'),
+            TOPIC_CATEGORY_CONCEPTS,
+        ),
+        (
             [b'scripting'],
             _(b'Using Mercurial from scripts and automation'),
             loaddoc(b'scripting'),