Mercurial > hg-stable
diff mercurial/configitems.py @ 38733:c2586a6e5884
histedit: add history-editing-backup config option
Instead of passing --no-backup option every time you don't
want to store backup, now you can set config option:
[ui]
history-editing-backup = False
This option aims to operate on every history editing command.
Differential Revision: https://phab.mercurial-scm.org/D3901
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Tue, 10 Jul 2018 17:01:06 +0530 |
parents | be4984261611 |
children | 913ca175c4ae |
line wrap: on
line diff
--- a/mercurial/configitems.py Wed Jul 18 09:49:34 2018 -0700 +++ b/mercurial/configitems.py Tue Jul 10 17:01:06 2018 +0530 @@ -1093,6 +1093,9 @@ coreconfigitem('ui', 'graphnodetemplate', default=None, ) +coreconfigitem('ui', 'history-editing-backup', + default=True, +) coreconfigitem('ui', 'interactive', default=None, )