# HG changeset patch # User Jeff Hammel # Date 1376186732 25200 # Node ID dc179368b7d0eddb2558d8fb6f0a20fcf1461778 # Parent 949ca4b2f2d1bcb5c8911b3bc6c05158e1ef4974 python/hgrc.py diff -r 949ca4b2f2d1 -r dc179368b7d0 python/hgrc.py --- a/python/hgrc.py Sat Aug 10 19:04:19 2013 -0700 +++ b/python/hgrc.py Sat Aug 10 19:05:32 2013 -0700 @@ -113,13 +113,18 @@ # map of actions -> functions; # XXX this is pretty improv; to be improved - action_map = {'default_push_ssh': set_default_push_to_ssh + action_map = {'default_push_ssh': set_default_push_to_ssh, 'default_push': set_default_push - } + } # alter .hgrc files + action_names = actions.keys() while actions: + # XXX crappy + action, parameter = actions.pop(action_names.pop()) + + # apply to all files for path, ini in config.items(): import pdb; pdb.set_trace()