# HG changeset patch # User Pierre-Yves David # Date 1493807153 -7200 # Node ID 26d638e419df048750c2b142eb3ad14b24a6d961 # Parent 9f09cabe679e8082970bb1a6b72688bbefe6185c auto-push: move config help in the extension help That is a better spot than the extension itself. diff -r 9f09cabe679e -r 26d638e419df README --- a/README Tue May 02 17:43:34 2017 +0200 +++ b/README Wed May 03 12:25:53 2017 +0200 @@ -118,9 +118,7 @@ - improve message about obsolete working copy parent, - improve message issued when accessing hidden nodes (4.2 only), - introduce a new caches to reduce the impact of evolution on read-only commands, - - add a 'experimental.auto-publish' config. Set it so 'warn' to get a warning - when a push is publishing some draft changesets and 'abort' to prevent that - to happen at all. + - add a 'experimental.auto-publish' config. See `hg help -e evolve` for details. 6.0.2 - in progress ------------------- diff -r 9f09cabe679e -r 26d638e419df hgext3rd/evolve/__init__.py --- a/hgext3rd/evolve/__init__.py Tue May 02 17:43:34 2017 +0200 +++ b/hgext3rd/evolve/__init__.py Wed May 03 12:25:53 2017 +0200 @@ -33,6 +33,17 @@ experimental protocol are also supported for a longer time in the extensions to help people transitioning. (The extensions is currently compatible down to Mercurial version 3.8). + +New Config: + + [experimental] + # Set to control the behavior when pushing draft changesets to a publishing + # repository. Possible value: + # * ignore: current core behavior (default) + # * warn: proceed with the push, but issue a warning + # * abort: abort the push + auto-publish = ignore + """