changeset 6303:1c78d704bea4

exthelper: add a comment for future use of registrar._merge()
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 11 Aug 2022 11:22:26 +0400
parents 6f865bfc5fb8
children c00332abb66b
files hgext3rd/evolve/exthelper.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/exthelper.py	Thu Aug 11 11:11:06 2022 +0400
+++ b/hgext3rd/evolve/exthelper.py	Thu Aug 11 11:22:26 2022 +0400
@@ -95,6 +95,8 @@
         self._uipopulatecallables.extend(other._uipopulatecallables)
         self._extcallables.extend(other._extcallables)
         self._repocallables.extend(other._repocallables)
+        # use registrar._merge() here, see upstream exthelper.py
+        # hg <= 4.8 (13f50ea8ac3b)
         self.filesetpredicate._table.update(other.filesetpredicate._table)
         self.revsetpredicate._table.update(other.revsetpredicate._table)
         self.templatekeyword._table.update(other.templatekeyword._table)