mercurial/commands.py
changeset 22248 75618a223e18
parent 22218 b629397ca15f
child 22266 711de9dcb1d3
equal deleted inserted replaced
22247:8341c677c204 22248:75618a223e18
  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)