changeset 6653:a93758f6f937 stable

evolve: correct source for configoverride in hg previous This source is a copy-paste issue, since we're definitely not in topic extension. Let's use command name as the source as is already done for pick and fixup, for example.
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 27 Jan 2024 17:23:59 -0300
parents 4443117fdf94
children 968b9651b1f7
files hgext3rd/evolve/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/__init__.py	Fri Jan 05 13:35:27 2024 -0300
+++ b/hgext3rd/evolve/__init__.py	Sat Jan 27 17:23:59 2024 -0300
@@ -810,7 +810,7 @@
             if topic and _getcurrenttopic(repo) != _gettopic(target):
                 configoverride = repo.ui.configoverride({
                     (b'_internal', b'keep-topic'): b'yes'
-                }, source=b'topic-extension')
+                }, source=b'previous')
             with configoverride:
                 _prevupdate(repo, display, target, bookmark, dryrunopt,
                             mergeopt)