mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-05-07 02:26:13 +02:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user