Mercurial > evolve
changeset 4286:f9a9d2fe4af5
safeguard: the new default for auto-publish is 'publish'
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 01 Dec 2018 16:07:55 +0800 |
parents | 69fb9e41ce2b |
children | b7b6a4524ef7 |
files | hgext3rd/evolve/safeguard.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/safeguard.py Fri Sep 21 11:44:34 2018 -0400 +++ b/hgext3rd/evolve/safeguard.py Sat Dec 01 16:07:55 2018 +0800 @@ -25,7 +25,7 @@ def checkpush(self, pushop): super(noautopublishrepo, self).checkpush(pushop) - behavior = self.ui.config('experimental', 'auto-publish', 'default') + behavior = self.ui.config('experimental', 'auto-publish', 'publish') nocheck = behavior not in ('warn', 'abort') if nocheck or getattr(pushop, 'publish', False): return