##// END OF EJS Templates
transplant: unnest --stop case...
Yuya Nishihara -
r43010:8c3bbf6f default draft
parent child Browse files
Show More
@@ -692,11 +692,11 b' def _dotransplant(ui, repo, *revs, **opt'
692 if opts.get('continue'):
692 if opts.get('continue'):
693 if not tp.canresume():
693 if not tp.canresume():
694 raise error.Abort(_('no transplant to continue'))
694 raise error.Abort(_('no transplant to continue'))
695 else:
695 elif opts.get('stop'):
696 if opts.get('stop'):
697 if not tp.canresume():
696 if not tp.canresume():
698 raise error.Abort(_('no interrupted transplant found'))
697 raise error.Abort(_('no interrupted transplant found'))
699 return tp.stop(ui, repo)
698 return tp.stop(ui, repo)
699 else:
700 cmdutil.checkunfinished(repo)
700 cmdutil.checkunfinished(repo)
701 cmdutil.bailifchanged(repo)
701 cmdutil.bailifchanged(repo)
702
702
General Comments 0
You need to be logged in to leave comments. Login now