D5997: mq: disable qrecord during histedit (issue5981)

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Sun Feb 24 20:36:49 EST 2019


yuja added a comment.


  >   with ui.configoverride(overrides, 'record'):
  > 
  > +        if repo.vfs.exists('histedit-state'):
  >  +            raise error.Abort(_("histedit in progress, can't qrecord"))
  > 
  >   cmdutil.dorecord(ui, repo, committomq, cmdsuggest, False,
  
  Maybe `cmdutil.checkunfinished()` will do the job.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5997

To: navaneeth.suresh, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list