mercurial/configitems.py
changeset 49448 cfff73cab721
parent 49430 2064bbf7a1d5
child 49451 0c70d888a484
--- a/mercurial/configitems.py	Mon Jul 25 05:30:06 2022 +0200
+++ b/mercurial/configitems.py	Wed Apr 20 19:24:39 2022 +0200
@@ -2841,3 +2841,17 @@
     b'experimental.inmemory',
     default=False,
 )
+
+# This setting controls creation of a rebase_source extra field
+# during rebase. When False, no such field is created. This is
+# useful eg for incrementally converting changesets and then
+# rebasing them onto an existing repo.
+# WARNING: this is an advanced setting reserved for people who know
+# exactly what they are doing. Misuse of this setting can easily
+# result in obsmarker cycles and a vivid headache.
+coreconfigitem(
+    b'rebase',
+    b'store-source',
+    default=True,
+    experimental=True,
+)