Re: stgit: No patches to pop
- From
- Catalin Marinas <catalin.marinas@arm.com>
- Date
- Dec 11, 2006, 16:11 UTC
- Message-ID
- <tnxpsaqwgxl.fsf@arm.com>
- In-Reply-To
- <7ac1e90c0612110632x56a2917cu4db33e47923f34c2@mail.gmail.com>
"Bahadir Balban" <bahadir.balban@gmail.com> wrote:
Show 12 quoted lines
> I've just recently started using stgit (v0.11, git v1.4.3.4). On a > test repository, I do: > > % stg applied > first > second > third > > but when I pop I get: > > % stg pop > stg pop: No patches to pop
Can you write a list of commands or script so that I can easily reproduce this? It works OK for me.
Show 5 quoted lines
> I also get things like: > > % stg pop second > popping patch "third"... done > Now at patch "second"
In version 0.11, the "pop" command is equivalent to "goto". I changed this in the latest version (in the StGIT repository) so that "pop <patch>" tries to only extract that patch from the stack by popping all the patches to the given one and pushing them back without the one you specified. It also supports patch ranges (i.e. patch1..patch4).