equal
deleted
inserted
replaced
1446 if opts.get('secret'): |
1446 if opts.get('secret'): |
1447 ui.setconfig('phases', 'new-commit', 'secret', 'commit') |
1447 ui.setconfig('phases', 'new-commit', 'secret', 'commit') |
1448 # Propagate to subrepos |
1448 # Propagate to subrepos |
1449 baseui.setconfig('phases', 'new-commit', 'secret', 'commit') |
1449 baseui.setconfig('phases', 'new-commit', 'secret', 'commit') |
1450 |
1450 |
1451 editform = 'commit.normal' |
1451 editform = cmdutil.mergeeditform(repo[None], 'commit.normal') |
1452 editor = cmdutil.getcommiteditor(editform=editform, **opts) |
1452 editor = cmdutil.getcommiteditor(editform=editform, **opts) |
1453 return repo.commit(message, opts.get('user'), opts.get('date'), |
1453 return repo.commit(message, opts.get('user'), opts.get('date'), |
1454 match, |
1454 match, |
1455 editor=editor, |
1455 editor=editor, |
1456 extra=extra) |
1456 extra=extra) |