reorder extsetup
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Wed, 25 May 2011 02:14:36 +0200
changeset 14 f5e1055a3f68
parent 13 e95e8cf7988f
child 15 a38b3d0a1562
reorder extsetup
states.py
--- a/states.py	Wed May 25 02:13:02 2011 +0200
+++ b/states.py	Wed May 25 02:14:36 2011 +0200
@@ -107,10 +107,6 @@
 #############################
 
 
-def extsetup(ui):
-    for state in STATES:
-        if state.trackheads:
-            revset.symbols[state.headssymbol] = state._revsetheads
 
 # New commands
 #############################
@@ -163,6 +159,11 @@
     wireproto.wirerepository._reducehead = _reducehead
     wireproto.commands['heads'] = (heads, '')
 
+def extsetup(ui):
+    for state in STATES:
+        if state.trackheads:
+            revset.symbols[state.headssymbol] = state._revsetheads
+
 def reposetup(ui, repo):
 
     if not repo.local():