diff hgext/record.py @ 41799:4d21ebc4cb47

mq: disable qrecord during histedit (issue5981) qrecord during histedit may lead to deadlock-like situations. qpop will throw an error on called during histedit even after qrecord-ing those changes. This patch makes qrecord to abort on histedit. Differential Revision: https://phab.mercurial-scm.org/D5997
author Navaneeth Suresh <navaneeths1998@gmail.com>
date Fri, 22 Feb 2019 00:54:06 +0530
parents aaad36b88298
children 2372284d9457
line wrap: on
line diff
--- a/hgext/record.py	Wed Feb 20 21:57:39 2019 -0800
+++ b/hgext/record.py	Fri Feb 22 00:54:06 2019 +0530
@@ -119,6 +119,7 @@
 
     overrides = {('experimental', 'crecord'): False}
     with ui.configoverride(overrides, 'record'):
+        cmdutil.checkunfinished(repo)
         cmdutil.dorecord(ui, repo, committomq, cmdsuggest, False,
                          cmdutil.recordfilter, *pats, **opts)