diff hgext3rd/topic/revset.py @ 1943:cd56f4d8b5a3

revset: add a ui argument to 'modsetup' This is a gratuitous change for consistency with the function that use it.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 30 Mar 2016 03:22:50 -0700
parents 11d740319280
children 042356d5ba59
line wrap: on
line diff
--- 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})