Re: stgit: No patches to pop
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Dec 11, 2006, 16:20 UTC
- Message-ID
- <elk0c3$ovu$1@sea.gmane.org>
- In-Reply-To
- <tnxpsaqwgxl.fsf@arm.com>
Catalin Marinas wrote:
Show 11 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).
That is kind of strange. Pop should work like pop does, for example the one in Perl or Python, removing n elements from the stack of applied patches. Not work as "float <patch>"...
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git