mercurial/commands.py
changeset 21416 3e717c9376fc
parent 21414 37a302f0e297
child 21418 d4b8fc753455
equal deleted inserted replaced
21415:0b5d6c062774 21416:3e717c9376fc
  3069     if not opts.get('user') and opts.get('currentuser'):
  3069     if not opts.get('user') and opts.get('currentuser'):
  3070         opts['user'] = ui.username()
  3070         opts['user'] = ui.username()
  3071     if not opts.get('date') and opts.get('currentdate'):
  3071     if not opts.get('date') and opts.get('currentdate'):
  3072         opts['date'] = "%d %d" % util.makedate()
  3072         opts['date'] = "%d %d" % util.makedate()
  3073 
  3073 
  3074     editor = None
  3074     editor = cmdutil.getcommiteditor(**opts)
  3075     if opts.get('edit'):
       
  3076         editor = cmdutil.commitforceeditor
       
  3077 
  3075 
  3078     cont = False
  3076     cont = False
  3079     if opts['continue']:
  3077     if opts['continue']:
  3080         cont = True
  3078         cont = True
  3081         if revs:
  3079         if revs: