# HG changeset patch # User Pierre-Yves David # Date 1306282476 -7200 # Node ID f5e1055a3f685ce098b029faabca3390f4458ef4 # Parent e95e8cf7988f3dc6f5ae14d10def58447a437e16 reorder extsetup diff -r e95e8cf7988f -r f5e1055a3f68 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():