Add warning about disabling capability_push mode

... as the old mode is not so safe and on its way to deprecation.
This commit is contained in:
Mark Nauwelaerts
2016-08-13 11:16:49 +02:00
parent 6cff0327aa
commit 63c742e4a6

View File

@@ -1677,6 +1677,10 @@ def main(args):
dry_run = False
notes = set()
if not capability_push:
warn('capability_push is disabled, only do so when really sure')
warn('various enhanced features might fail in subtle ways')
prefix = select_private_refs(alias)
repo = get_repo(url, alias)