Mercurial > hg
comparison mercurial/ui.py @ 24663:7d01371e6358
commands: add ui.statuscopies config knob
statuscopies enables viewing of copies and moves in 'hg status' by default.
author | Mathias De Maré <mathias.demare@gmail.com> |
---|---|
date | Tue, 24 Mar 2015 21:25:57 +0100 |
parents | 9c32eea2ca04 |
children | 28d76bc069db |
comparison
equal
deleted
inserted
replaced
24662:b5cd8c2f6e65 | 24663:7d01371e6358 |
---|---|
156 raise | 156 raise |
157 self.warn(_("ignored: %s\n") % str(inst)) | 157 self.warn(_("ignored: %s\n") % str(inst)) |
158 | 158 |
159 if self.plain(): | 159 if self.plain(): |
160 for k in ('debug', 'fallbackencoding', 'quiet', 'slash', | 160 for k in ('debug', 'fallbackencoding', 'quiet', 'slash', |
161 'logtemplate', 'style', | 161 'logtemplate', 'statuscopies', 'style', |
162 'traceback', 'verbose'): | 162 'traceback', 'verbose'): |
163 if k in cfg['ui']: | 163 if k in cfg['ui']: |
164 del cfg['ui'][k] | 164 del cfg['ui'][k] |
165 for k, v in cfg.items('defaults'): | 165 for k, v in cfg.items('defaults'): |
166 del cfg['defaults'][k] | 166 del cfg['defaults'][k] |