comparison mercurial/configitems.py @ 41120:79f8f032c706

amend: add config option to update time to current in hg amend (issue5828) The given config option i.e. `rewrite.update-timestamp` updates date to current when //True//. However when only date is to be updated to current with the working directory clean and no other attributes changing then it does not amend as stated in issue 5828. Further when `--date` flag is specified along with the new config option then `--date` is given priority over the config option. Differential Revision: https://phab.mercurial-scm.org/D5491
author Taapas Agrawal <taapas2897@gmail.com>
date Fri, 04 Jan 2019 20:27:17 +0530
parents dcac24ec935b
children 6acbe86c6490
comparison
equal deleted inserted replaced
41119:685cf59a134f 41120:79f8f032c706
989 ) 989 )
990 coreconfigitem('storage', 'mmap-threshold', 990 coreconfigitem('storage', 'mmap-threshold',
991 default='1MB', 991 default='1MB',
992 alias=[('experimental', 'mmapindexthreshold')], 992 alias=[('experimental', 'mmapindexthreshold')],
993 ) 993 )
994 coreconfigitem('rewrite', 'update-timestamp',
995 default=False,
996 )
994 coreconfigitem('storage', 'new-repo-backend', 997 coreconfigitem('storage', 'new-repo-backend',
995 default='revlogv1', 998 default='revlogv1',
996 ) 999 )
997 coreconfigitem('storage', 'revlog.optimize-delta-parent-choice', 1000 coreconfigitem('storage', 'revlog.optimize-delta-parent-choice',
998 default=True, 1001 default=True,