path: explicitly declare the `pushrev` suboptions
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 04 Apr 2022 15:36:32 +0200
changeset 49037 bb76343959d6
parent 49036 9e2ac831f503
child 49038 b6f535f3beda
path: explicitly declare the `pushrev` suboptions This will help documentation and discovery. Differential Revision: https://phab.mercurial-scm.org/D12436
mercurial/configitems.py
--- a/mercurial/configitems.py	Mon Apr 04 15:36:17 2022 +0200
+++ b/mercurial/configitems.py	Mon Apr 04 15:36:32 2022 +0200
@@ -1753,6 +1753,12 @@
     generic=True,
 )
 coreconfigitem(
+    b'paths',
+    b'.*:pushrev',
+    default=None,
+    generic=True,
+)
+coreconfigitem(
     b'phases',
     b'checksubrepos',
     default=b'follow',