mercurial/cmdutil.py
changeset 32144 93155367a2a6
parent 32046 5b630f2ccb4e
child 32147 a77e61b45384
equal deleted inserted replaced
32143:964c6be36590 32144:93155367a2a6
   113     return newchunks, newopts
   113     return newchunks, newopts
   114 
   114 
   115 def dorecord(ui, repo, commitfunc, cmdsuggest, backupall,
   115 def dorecord(ui, repo, commitfunc, cmdsuggest, backupall,
   116             filterfn, *pats, **opts):
   116             filterfn, *pats, **opts):
   117     from . import merge as mergemod
   117     from . import merge as mergemod
       
   118     opts = pycompat.byteskwargs(opts)
   118     if not ui.interactive():
   119     if not ui.interactive():
   119         if cmdsuggest:
   120         if cmdsuggest:
   120             msg = _('running non-interactively, use %s instead') % cmdsuggest
   121             msg = _('running non-interactively, use %s instead') % cmdsuggest
   121         else:
   122         else:
   122             msg = _('running non-interactively')
   123             msg = _('running non-interactively')