changeset 113:edd7c5f97427

Explicitly reset wireproto.commands['capabilities'].
author Mark Wielaard <mark@klomp.org>
date Sat, 05 Mar 2011 23:36:37 +0000
parents bf6d44054cec
children 7748e801692a
files forest.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/forest.py	Mon Jan 10 09:56:29 2011 -0500
+++ b/forest.py	Sat Mar 05 23:36:37 2011 +0000
@@ -276,6 +276,8 @@
         caps += ' forests'
         return caps
     wireproto.capabilities = _forest_caps
+    _old_func, _old_spec = wireproto.commands['capabilities']
+    wireproto.commands['capabilities'] = (_forest_caps, _old_spec)
 
     def do_forests(repo, proto, walkhg):
         forests = repo.forests(bool(walkhg))