push: config option to control behavior when pushing to a publishing server

Authored by av6.

Description

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'.

Details

Committed
av6Nov 5 2018, 12:52 AM
Parents
rHG773572e5cba2: narrowcommands: remove an unrequired `repo.narrowpats` call
Branches
Unknown
Tags
Unknown