debugstate: add new --datesort option
sorts the output lines by mtime, then by filename
rebase: restore mq guards after rebasing (
issue2107)
Guards on rebased mq patches were lost.
This patch restores them after the qimporting step.
tests: no need to explicitly export HOME in test files
the test runner ensures that HOME is set to a temp dir