record: add checkunfinished support (issue3955) stable
authorMatt Mackall <mpm@selenic.com>
Thu, 25 Jul 2013 02:34:09 -0500
branchstable
changeset 19497 e012a20061ed
parent 19496 607191a45f8c
child 19498 3ac1735a2265
record: add checkunfinished support (issue3955)
hgext/record.py
--- a/hgext/record.py	Thu Jul 25 02:17:52 2013 -0500
+++ b/hgext/record.py	Thu Jul 25 02:34:09 2013 -0500
@@ -519,6 +519,7 @@
         will be left in place, so the user can continue working.
         """
 
+        cmdutil.checkunfinished(repo, commit=True)
         merge = len(repo[None].parents()) > 1
         if merge:
             raise util.Abort(_('cannot partially commit a merge '