equal
deleted
inserted
replaced
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')) |