From 63c742e4a6ed779471e7c38525e753a434e2e219 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Sat, 13 Aug 2016 11:16:49 +0200 Subject: [PATCH] Add warning about disabling capability_push mode ... as the old mode is not so safe and on its way to deprecation. --- git-remote-hg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/git-remote-hg b/git-remote-hg index cbc7efc..72b42a0 100755 --- a/git-remote-hg +++ b/git-remote-hg @@ -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)