changeset 49039:0940a45cc838

path: explicitly declare the `pushurl` suboption This will help documentation and discovery. Differential Revision: https://phab.mercurial-scm.org/D12437
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 04 Apr 2022 13:36:37 +0000
parents b6f535f3beda
children 3abf799b7b29
files mercurial/configitems.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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',