"stgit rebase" should check for errors before changing tree
From: Andrey Borzenkov <hidden>
Date: 2016-06-15 22:43:14
{pts/0}% stg rebase 2.6.22-rc4
Checking for changes in the working directory... done
Popping all applied patches... done
Rebasing to "2.6.22-rc4"...
stg rebase: Unknown revision: 2.6.22-rc4^{commit}
well, now user is forced to reapply (push) all patches by hand, "stg rebase"
lost history and state. It probably should check before popping patches.
stgit-0.12.1
-andrey