mercurial/commands.py
changeset 24309 fefcafda10b8
parent 24306 6ddc86eedc3b
child 24359 521fe8287dd5
equal deleted inserted replaced
24308:1725843a7644 24309:fefcafda10b8
  1429 
  1429 
  1430     Returns 0 on success, 1 if nothing changed.
  1430     Returns 0 on success, 1 if nothing changed.
  1431     """
  1431     """
  1432     if opts.get('interactive'):
  1432     if opts.get('interactive'):
  1433         opts.pop('interactive')
  1433         opts.pop('interactive')
  1434         cmdutil.dorecord(ui, repo, commit, 'commit', False, *pats, **opts)
  1434         cmdutil.dorecord(ui, repo, commit, 'commit', False,
       
  1435                         cmdutil.recordfilter, *pats, **opts)
  1435         return
  1436         return
  1436 
  1437 
  1437     if opts.get('subrepos'):
  1438     if opts.get('subrepos'):
  1438         if opts.get('amend'):
  1439         if opts.get('amend'):
  1439             raise util.Abort(_('cannot amend with --subrepos'))
  1440             raise util.Abort(_('cannot amend with --subrepos'))