Mercurial > hg > config
comparison python/hgrc.py @ 472:57dfffa7e44a
python/hgrc.py
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Sat, 10 Aug 2013 19:07:24 -0700 |
| parents | dc179368b7d0 |
| children | da087c5724d4 |
comparison
equal
deleted
inserted
replaced
| 471:dc179368b7d0 | 472:57dfffa7e44a |
|---|---|
| 120 # alter .hgrc files | 120 # alter .hgrc files |
| 121 action_names = actions.keys() | 121 action_names = actions.keys() |
| 122 while actions: | 122 while actions: |
| 123 | 123 |
| 124 # XXX crappy | 124 # XXX crappy |
| 125 action, parameter = actions.pop(action_names.pop()) | 125 action_name = action_names.pop() |
| 126 parameter = actions.pop(action_name) | |
| 126 | 127 |
| 127 # apply to all files | 128 # apply to all files |
| 128 for path, ini in config.items(): | 129 for path, ini in config.items(): |
| 129 import pdb; pdb.set_trace() | 130 import pdb; pdb.set_trace() |
| 130 | 131 |
