merge: with stable
authorAugie Fackler <augie@google.com>
Thu, 10 Feb 2022 13:24:38 -0500
changeset 48738 3199b575375d
parent 48737 c7e675848027 (current diff)
parent 48370 6e5ab1673020 (diff)
child 48739 99b1dfc06571
merge: with stable
mercurial/helptext/config.txt
--- a/doc/hgmanpage.py	Mon Feb 07 12:29:43 2022 +0300
+++ b/doc/hgmanpage.py	Thu Feb 10 13:24:38 2022 -0500
@@ -45,7 +45,6 @@
 
 __docformat__ = 'reStructuredText'
 
-import inspect
 import re
 
 from docutils import (
@@ -177,13 +176,7 @@
         nodes.NodeVisitor.__init__(self, document)
         self.settings = settings = document.settings
         lcode = settings.language_code
-        arglen = len(inspect.getargspec(languages.get_language)[0])
-        if arglen == 2:
-            self.language = languages.get_language(
-                lcode, self.document.reporter
-            )
-        else:
-            self.language = languages.get_language(lcode)
+        self.language = languages.get_language(lcode, self.document.reporter)
         self.head = []
         self.body = []
         self.foot = []
--- a/mercurial/helptext/config.txt	Mon Feb 07 12:29:43 2022 +0300
+++ b/mercurial/helptext/config.txt	Thu Feb 10 13:24:38 2022 -0500
@@ -1029,8 +1029,8 @@
 
     Beware that existing shares will not be upgraded/downgraded, and by
     default, Mercurial will refuse to interact with them until the mismatch
-    is resolved. See :hg:`help config share.safe-mismatch.source-safe` and
-    :hg:`help config share.safe-mismatch.source-not-safe` for details.
+    is resolved. See :hg:`help config.share.safe-mismatch.source-safe` and
+    :hg:`help config.share.safe-mismatch.source-not-safe` for details.
 
     Introduced in Mercurial 5.7.
 
@@ -2088,12 +2088,11 @@
 ---------
 
 ``safe-mismatch.source-safe``
-
     Controls what happens when the shared repository does not use the
     share-safe mechanism but its source repository does.
 
     Possible values are `abort` (default), `allow`, `upgrade-abort` and
-    `upgrade-abort`.
+    `upgrade-allow`.
 
     ``abort``
     Disallows running any command and aborts
@@ -2105,7 +2104,7 @@
     tries to upgrade the share; if it fails, continue by
     respecting the share source setting
 
-    Check :hg:`help config format.use-share-safe` for details about the
+    Check :hg:`help config.format.use-share-safe` for details about the
     share-safe feature.
 
 ``safe-mismatch.source-safe.warn``
@@ -2114,12 +2113,11 @@
     (default: True)
 
 ``safe-mismatch.source-not-safe``
-
     Controls what happens when the shared repository uses the share-safe
     mechanism but its source does not.
 
     Possible values are `abort` (default), `allow`, `downgrade-abort` and
-    `downgrade-abort`.
+    `downgrade-allow`.
 
     ``abort``
     Disallows running any command and aborts
@@ -2131,7 +2129,7 @@
     tries to downgrade the share to not use share-safe;
     if it fails, continue by respecting the shared source setting
 
-    Check :hg:`help config format.use-share-safe` for details about the
+    Check :hg:`help config.format.use-share-safe` for details about the
     share-safe feature.
 
 ``safe-mismatch.source-not-safe.warn``
@@ -2176,7 +2174,7 @@
     Default to True.
 
     For details on the "persistent-nodemap" feature, see:
-    :hg:`help config format.use-persistent-nodemap`.
+    :hg:`help config.format.use-persistent-nodemap`.
 
 ``revlog.persistent-nodemap.slow-path``
     Control the behavior of Merucrial when using a repository with "persistent"
@@ -2188,7 +2186,7 @@
     ``abort``: Prevent access to such repositories. (This is the default)
 
     For details on the "persistent-nodemap" feature, see:
-    :hg:`help config format.use-persistent-nodemap`.
+    :hg:`help config.format.use-persistent-nodemap`.
 
 ``revlog.reuse-external-delta-parent``
     Control the order in which delta parents are considered when adding new