mercurial/commands.py
changeset 21035 e6e34c17b1cc
parent 21034 693b4cb4330f
child 21036 a1a1bd09e4f4
equal deleted inserted replaced
21034:693b4cb4330f 21035:e6e34c17b1cc
  1362 
  1362 
  1363     See :hg:`help dates` for a list of formats valid for -d/--date.
  1363     See :hg:`help dates` for a list of formats valid for -d/--date.
  1364 
  1364 
  1365     Returns 0 on success, 1 if nothing changed.
  1365     Returns 0 on success, 1 if nothing changed.
  1366     """
  1366     """
  1367     forceeditor = opts.get('force_editor') or opts.get('edit')
  1367     forceeditor = opts.get('edit')
  1368 
  1368 
  1369     if opts.get('subrepos'):
  1369     if opts.get('subrepos'):
  1370         if opts.get('amend'):
  1370         if opts.get('amend'):
  1371             raise util.Abort(_('cannot amend with --subrepos'))
  1371             raise util.Abort(_('cannot amend with --subrepos'))
  1372         # Let --subrepos on the command line override config setting.
  1372         # Let --subrepos on the command line override config setting.