diff mercurial/configitems.py @ 42971:76608f9f27f6

singlehead: introduce special handling of closed heads Until now, the experimental option `single-head-per-branch` was also refusing closed heads. The logic is now ignoring them by default and a suboption have been added to refuse them too `single-head-per-branch:account-closed-heads`.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 25 Sep 2019 12:59:26 +0200
parents 9f2189b6bf2a
children 827cb4fe62a3
line wrap: on
line diff
--- a/mercurial/configitems.py	Wed Sep 25 12:57:11 2019 +0200
+++ b/mercurial/configitems.py	Wed Sep 25 12:59:26 2019 +0200
@@ -645,6 +645,9 @@
 coreconfigitem('experimental', 'single-head-per-branch',
     default=False,
 )
+coreconfigitem('experimental', 'single-head-per-branch:account-closed-heads',
+    default=False,
+)
 coreconfigitem('experimental', 'sshserver.support-v2',
     default=False,
 )