diff hgext/record.py @ 19497:e012a20061ed stable

record: add checkunfinished support (issue3955)
author Matt Mackall <mpm@selenic.com>
date Thu, 25 Jul 2013 02:34:09 -0500
parents c58b6ab4c26f
children a765611e06dc
line wrap: on
line diff
--- 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 '