Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/configitems.py @ 42273:0f01394457a0
commit: add ability to print file status after each successful invocation
When commands.commit.post-status is enabled, `hg commit` will effectively run
`hg status -mardu` after committing. It can help catch mistakes like not
committing all needed files or not adding unknown files that should've been
part of the just created commit.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 03 May 2019 14:11:16 +0800 |
parents | d345627d104b |
children | 604c086ddde6 |
comparison
equal
deleted
inserted
replaced
42272:165b1aad43da | 42273:0f01394457a0 |
---|---|
200 ) | 200 ) |
201 coreconfigitem('color', 'pagermode', | 201 coreconfigitem('color', 'pagermode', |
202 default=dynamicdefault, | 202 default=dynamicdefault, |
203 ) | 203 ) |
204 _registerdiffopts(section='commands', configprefix='commit.interactive.') | 204 _registerdiffopts(section='commands', configprefix='commit.interactive.') |
205 coreconfigitem('commands', 'commit.post-status', | |
206 default=False, | |
207 ) | |
205 coreconfigitem('commands', 'grep.all-files', | 208 coreconfigitem('commands', 'grep.all-files', |
206 default=False, | 209 default=False, |
207 ) | 210 ) |
208 coreconfigitem('commands', 'resolve.confirm', | 211 coreconfigitem('commands', 'resolve.confirm', |
209 default=False, | 212 default=False, |