Mercurial > hg > config
comparison python/hgrc.py @ 483:4bd2932d21d4
python/hgrc.py
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Sat, 10 Aug 2013 20:51:40 -0700 |
| parents | 6c0aac8799da |
| children | 50379f607e03 |
comparison
equal
deleted
inserted
replaced
| 482:6c0aac8799da | 483:4bd2932d21d4 |
|---|---|
| 157 if options.list_hgrc: | 157 if options.list_hgrc: |
| 158 print '\n'.join(hgrc) | 158 print '\n'.join(hgrc) |
| 159 | 159 |
| 160 # remove from actions list | 160 # remove from actions list |
| 161 # TODO -> OrderedDict | 161 # TODO -> OrderedDict |
| 162 actions.pop('list_hgrc', None) | 162 # actions.pop('list_hgrc', None) |
| 163 actions.pop() | 163 actions.pop() |
| 164 | 164 |
| 165 # map of actions -> functions; | 165 # map of actions -> functions; |
| 166 # XXX this is pretty improv; to be improved | 166 # XXX this is pretty improv; to be improved |
| 167 action_map = {'default_push_ssh': set_default_push_to_ssh, | 167 action_map = {'default_push_ssh': set_default_push_to_ssh, |
