Re: [PATCH] Allow deletion of several patches at once
- From
- Catalin Marinas <catalin.marinas@gmail.com>
- Date
- Nov 2, 2006, 10:36 UTC
- Message-ID
- <b0943d9e0611020236p60859a97ide18b95a2e069b1b@mail.gmail.com>
- In-Reply-To
- <20061101090714.2066.93948.stgit@localhost>
On 01/11/06, Karl Hasselström <kha@treskal.com> wrote:
> This is an updated patch, which uses parse_patches() to support patch > ranges. It replaces patch 2/2 in the series; patch 1/2 (original > delete regression test) is unaffected.
I applied it but added another commit to change the algorithm slightly. It now first checks whether the applied patches can be deleted before deleting any patch (I find this safer). It also checks for local changes, conflicts and HEAD == top only if you delete applied patches on the current branch. Actually, the HEAD == top test failed when deleting on a different branch, which is normal since the top is that of the other branch.
I'll make the changes public tonight.
Thanks.