diff mercurial/configitems.py @ 46096:4d5e2fd53707

singlehead: introduce option to restrict to public changes The new experimental.single-head-per-branch:public-changes-only option restricts the single-head-per-branch filter to public changesets. This is useful when serving one repository with different views as publishing and non-publishing repository. Differential Revision: https://phab.mercurial-scm.org/D9525
author Joerg Sonnenberger <joerg@bec.de>
date Sat, 05 Dec 2020 23:35:55 +0100
parents 89a2afe31e82
children 41d695a08e90
line wrap: on
line diff
--- a/mercurial/configitems.py	Thu Dec 03 14:39:39 2020 -0800
+++ b/mercurial/configitems.py	Sat Dec 05 23:35:55 2020 +0100
@@ -1079,6 +1079,11 @@
 )
 coreconfigitem(
     b'experimental',
+    b'single-head-per-branch:public-changes-only',
+    default=False,
+)
+coreconfigitem(
+    b'experimental',
     b'sshserver.support-v2',
     default=False,
 )