threads / discuss / 8446

"stgit rebase" should check for errors before changing tree

Subject: "stgit rebase" should check for errors before changing tree

## tl;dr

2 messages between Jun 5, 2007 and Jun 6, 2007.

replies: 1people: 2as markdown or json

Andrey Borzenkov· Jun 5, 2007, 16:59 UTC · lore

{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
Yann Dirson· Jun 6, 2007, 21:47 UTC · re: Andrey Borzenkov · lore

Re: "stgit rebase" should check for errors before changing tree

On Tue, Jun 05, 2007 at 08:59:40PM +0400, Andrey Borzenkov wrote:
Show 8 quoted lines
> {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.
-- 
Yann

← back to recent threads