cmdutil.dorecord() has a checkunfinished() function call. We might not
want to do that on certain occasions. For example, unshelve --continue
on interactive mode is trying to create a commit during an existing
We are now allowing that case using an option interactive-unshelve.
However, there should be a general way to do that. This patch adds
a allowunfinished optional argument to the cmdutil.dorecord()
function and make unshelve to migrate to this argument by removing
the interactive-unshelve option.