# HG changeset patch # User Anton Shestakov # Date 1706387039 10800 # Node ID a93758f6f937bffd52a911b051a2c81de200afcb # Parent 4443117fdf9427420d00b8723ec219930eb8e6a6 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. diff -r 4443117fdf94 -r a93758f6f937 hgext3rd/evolve/__init__.py --- 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)