Mercurial > hg
changeset 41082:4d40f6bb4cef
exthelper: switch to using the registrar merging method
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 30 Dec 2018 22:46:54 -0500 |
parents | 13f50ea8ac3b |
children | cbc3cbd9ff93 |
files | mercurial/exthelper.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/exthelper.py Sun Dec 30 21:52:26 2018 -0500 +++ b/mercurial/exthelper.py Sun Dec 30 22:46:54 2018 -0500 @@ -96,9 +96,9 @@ self._uipopulatecallables.extend(other._uipopulatecallables) self._extcallables.extend(other._extcallables) self._repocallables.extend(other._repocallables) - self.filesetpredicate._table.update(other.filesetpredicate._table) - self.revsetpredicate._table.update(other.revsetpredicate._table) - self.templatekeyword._table.update(other.templatekeyword._table) + self.filesetpredicate._merge(other.filesetpredicate) + self.revsetpredicate._merge(other.revsetpredicate) + self.templatekeyword._merge(other.templatekeyword) self._commandwrappers.extend(other._commandwrappers) self._extcommandwrappers.extend(other._extcommandwrappers) self._functionwrappers.extend(other._functionwrappers)