mq: add checkunfinished support (issue3955) stable
authorMatt Mackall <mpm@selenic.com>
Thu, 25 Jul 2013 00:00:47 -0500
branchstable
changeset 19481 ee1af0f33d0e
parent 19480 7c0bb2b75aa8
child 19482 499fc471296b
mq: add checkunfinished support (issue3955)
hgext/mq.py
--- a/hgext/mq.py	Wed Jul 24 23:51:44 2013 -0500
+++ b/hgext/mq.py	Thu Jul 25 00:00:47 2013 -0500
@@ -976,6 +976,7 @@
             raise util.Abort(_("local changes found"))
 
     def checklocalchanges(self, repo, force=False, refresh=True):
+        cmdutil.checkunfinished(repo)
         m, a, r, d = repo.status()[:4]
         if (m or a or r or d) and not force:
             self.localchangesfound(refresh)