hgext3rd/topic/__init__.py
changeset 1942 8815e799d865
parent 1941 7eb737b7a902
child 1943 cd56f4d8b5a3
--- a/hgext3rd/topic/__init__.py	Wed Mar 30 03:20:16 2016 -0700
+++ b/hgext3rd/topic/__init__.py	Wed Mar 30 03:21:44 2016 -0700
@@ -92,6 +92,7 @@
 
 def uisetup(ui):
     destination.modsetup(ui)
+    topicrevset.modsetup()
 
 @contextlib.contextmanager
 def usetopicmap(repo):
@@ -365,7 +366,6 @@
 extensions.wrapfunction(exchange, '_pushb2phases', discovery._pushb2phases)
 extensions.wrapfunction(changegroup.cg1unpacker, 'apply', cgapply)
 exchange.b2partsgenmapping['phase'] = exchange._pushb2phases
-topicrevset.modsetup()
 cmdutil.summaryhooks.add('topic', summaryhook)
 
 if util.safehasattr(cmdutil, 'extraexport'):