mq: simplify statusentry(), fix restore broken by
ee48e5ef8753
rebase: add option to not commit after a collapsing
This option is useful when other extensions (e.g., pbranch) want to
use rebase --collapse and append other things before committing.
This is not intended to be used from command line.