##// END OF EJS Templates
mq: add checkunfinished support (issue3955)
Matt Mackall -
r19481:ee1af0f3 stable
parent child Browse files
Show More
@@ -976,6 +976,7 b' class queue(object):'
976 raise util.Abort(_("local changes found"))
976 raise util.Abort(_("local changes found"))
977
977
978 def checklocalchanges(self, repo, force=False, refresh=True):
978 def checklocalchanges(self, repo, force=False, refresh=True):
979 cmdutil.checkunfinished(repo)
979 m, a, r, d = repo.status()[:4]
980 m, a, r, d = repo.status()[:4]
980 if (m or a or r or d) and not force:
981 if (m or a or r or d) and not force:
981 self.localchangesfound(refresh)
982 self.localchangesfound(refresh)
General Comments 0
You need to be logged in to leave comments. Login now