Mercurial > hg > config
comparison python/hgrc.py @ 476:9d81ec713f1b
python/hgrc.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 10 Aug 2013 19:15:40 -0700 |
parents | efd50220556e |
children | 6274107e477e |
comparison
equal
deleted
inserted
replaced
475:efd50220556e | 476:9d81ec713f1b |
---|---|
129 | 129 |
130 # XXX crappy | 130 # XXX crappy |
131 action_name = action_names.pop() | 131 action_name = action_names.pop() |
132 parameter = actions.pop(action_name) | 132 parameter = actions.pop(action_name) |
133 method = action_map[action_name] | 133 method = action_map[action_name] |
134 if action_name == 'default_push_ssh': | |
135 parameter = None | |
134 | 136 |
135 # apply to all files | 137 # apply to all files |
136 for path, ini in config.items(): | 138 for path, ini in config.items(): |
137 if parameter is not None: | 139 if parameter is not None: |
138 method(ini, parameter) | 140 method(ini, parameter) |