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
unfinished state.
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.
Why not get rid of interactive-shelve passed by unshelve and make that pass allowunfinished=True to dorecord?