path: explicitly declare the `pushurl` suboption
authorRaphaël Gomès <rgomes@octobus.net>
Mon, 04 Apr 2022 13:36:37 +0000
changeset 49039 0940a45cc838
parent 49038 b6f535f3beda
child 49040 3abf799b7b29
path: explicitly declare the `pushurl` suboption This will help documentation and discovery. Differential Revision: https://phab.mercurial-scm.org/D12437
mercurial/configitems.py
--- a/mercurial/configitems.py	Thu Apr 07 15:29:02 2022 +0200
+++ b/mercurial/configitems.py	Mon Apr 04 13:36:37 2022 +0000
@@ -1759,6 +1759,12 @@
     generic=True,
 )
 coreconfigitem(
+    b'paths',
+    b'.*:pushurl',
+    default=None,
+    generic=True,
+)
+coreconfigitem(
     b'phases',
     b'checksubrepos',
     default=b'follow',