# HG changeset patch # User Pierre-Yves David # Date 1459333370 25200 # Node ID cd56f4d8b5a3e434b3de10572c8916ebf326e218 # Parent 8815e799d865ad403556fe446f990ea9df07a7cb revset: add a ui argument to 'modsetup' This is a gratuitous change for consistency with the function that use it. diff -r 8815e799d865 -r cd56f4d8b5a3 hgext3rd/topic/__init__.py --- a/hgext3rd/topic/__init__.py Wed Mar 30 03:21:44 2016 -0700 +++ b/hgext3rd/topic/__init__.py Wed Mar 30 03:22:50 2016 -0700 @@ -92,7 +92,7 @@ def uisetup(ui): destination.modsetup(ui) - topicrevset.modsetup() + topicrevset.modsetup(ui) @contextlib.contextmanager def usetopicmap(repo): diff -r 8815e799d865 -r cd56f4d8b5a3 hgext3rd/topic/revset.py --- a/hgext3rd/topic/revset.py Wed Mar 30 03:21:44 2016 -0700 +++ b/hgext3rd/topic/revset.py Wed Mar 30 03:22:50 2016 -0700 @@ -69,7 +69,7 @@ return revset.baseset(stack.getstack(repo, topic)) & subset -def modsetup(): +def modsetup(ui): revset.symbols.update({'topic': topicset}) revset.symbols.update({'ngtip': ngtipset}) revset.symbols.update({'stack': stackset})