##// END OF EJS Templates
record: add checkunfinished support (issue3955)
Matt Mackall -
r19497:e012a200 stable
parent child Browse files
Show More
@@ -519,6 +519,7 b' def dorecord(ui, repo, commitfunc, cmdsu'
519 will be left in place, so the user can continue working.
519 will be left in place, so the user can continue working.
520 """
520 """
521
521
522 cmdutil.checkunfinished(repo, commit=True)
522 merge = len(repo[None].parents()) > 1
523 merge = len(repo[None].parents()) > 1
523 if merge:
524 if merge:
524 raise util.Abort(_('cannot partially commit a merge '
525 raise util.Abort(_('cannot partially commit a merge '
General Comments 0
You need to be logged in to leave comments. Login now