Mercurial > hg > config
comparison python/hgrc.py @ 485:e192c235d5d6
python/hgrc.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 10 Aug 2013 21:05:48 -0700 |
parents | 50379f607e03 |
children | c9aab7092af1 |
comparison
equal
deleted
inserted
replaced
484:50379f607e03 | 485:e192c235d5d6 |
---|---|
104 'print_ini', | 104 'print_ini', |
105 'list_hgrc', | 105 'list_hgrc', |
106 ) | 106 ) |
107 actions = [(name, getattr(options, name)) | 107 actions = [(name, getattr(options, name)) |
108 for name in available_actions | 108 for name in available_actions |
109 if getattr(options, name)]) | 109 if getattr(options, name)] |
110 if not actions: | 110 if not actions: |
111 actions = [('default_push_ssh', True)] | 111 actions = [('default_push_ssh', True)] |
112 actions = OrderedDict(actions) | 112 actions = OrderedDict(actions) |
113 | 113 |
114 # find all hgrc files | 114 # find all hgrc files |