Re: [StGIT PATCH] Don't use patches/<branch>/current
- From
- Catalin Marinas <catalin.marinas@gmail.com>
- Date
- May 15, 2007, 15:56 UTC
- Message-ID
- <b0943d9e0705150856n771cb696h6e8225a0bbd5d43d@mail.gmail.com>
- In-Reply-To
- <20070506150852.8985.98091.stgit@yoghurt>
On 06/05/07, Karl Hasselström <kha@treskal.com> wrote:
> The name of the current patch, if any, is always the last line of > patches/<branch>/applied (and there is no current patch if and only if > the "applied" file is empty). So use that instead, and stop having to > worry about keeping the redundant "current" file up-to-date.
I applied this patch. Could you also send me a patch for the bash-completion script as it uses this file?
I think the self.__current_file (same for the base file removed in a different patch) should still be available in the Series object and removed when deleting a branch, otherwise you get a "Series directory ... is not empty" exception.
Thanks.
-- Catalin