--- 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():