mercurial/commands.py
changeset 22008 b02ab548ab5c
parent 22007 a5bb0c4001ae
child 22009 0bbe8ef901d1
equal deleted inserted replaced
22007:a5bb0c4001ae 22008:b02ab548ab5c
  3126     if not opts.get('user') and opts.get('currentuser'):
  3126     if not opts.get('user') and opts.get('currentuser'):
  3127         opts['user'] = ui.username()
  3127         opts['user'] = ui.username()
  3128     if not opts.get('date') and opts.get('currentdate'):
  3128     if not opts.get('date') and opts.get('currentdate'):
  3129         opts['date'] = "%d %d" % util.makedate()
  3129         opts['date'] = "%d %d" % util.makedate()
  3130 
  3130 
  3131     editor = cmdutil.getcommiteditor(**opts)
  3131     editor = cmdutil.getcommiteditor(editform='graft', **opts)
  3132 
  3132 
  3133     cont = False
  3133     cont = False
  3134     if opts['continue']:
  3134     if opts['continue']:
  3135         cont = True
  3135         cont = True
  3136         if revs:
  3136         if revs: