Skip to contentSkip to conversation

"stgit rebase" should check for errors before changing tree

DISCUSSION Andrey Borzenkov 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

{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

#1 lore raw
Quoted 8 lines · Andrey Borzenkov

{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.

Right, fixed in my tree.

Thanks for your report.

Signature · 1 line
Yann