D5997: mq: disable qrecord during histedit (issue5981)

Yuya Nishihara yuya at tcha.org
Sun Feb 24 20:35:32 EST 2019


>      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.


More information about the Mercurial-devel mailing list