comparison mercurial/configitems.py @ 40767:33d30fb1e4ae

push: config option to control behavior when pushing to a publishing server Pushing to a publishing server by mistake can lead to a difficult situation to solve because evolution doesn't work on public changesets. This new experimental config tries to help avoiding unintentionally (or at least being aware of) pushing to publishing remotes. `hg push --publish` can be used to make push succeed even when auto-publish is set to 'abort'.
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 05 Nov 2018 13:52:19 +0800
parents 054d0fcba2c4
children 875d2af8cb4e
comparison
equal deleted inserted replaced
40766:773572e5cba2 40767:33d30fb1e4ae
447 default=None, 447 default=None,
448 ) 448 )
449 coreconfigitem('experimental', 'archivemetatemplate', 449 coreconfigitem('experimental', 'archivemetatemplate',
450 default=dynamicdefault, 450 default=dynamicdefault,
451 ) 451 )
452 coreconfigitem('experimental', 'auto-publish',
453 default='publish',
454 )
452 coreconfigitem('experimental', 'bundle-phases', 455 coreconfigitem('experimental', 'bundle-phases',
453 default=False, 456 default=False,
454 ) 457 )
455 coreconfigitem('experimental', 'bundle2-advertise', 458 coreconfigitem('experimental', 'bundle2-advertise',
456 default=True, 459 default=True,