[StGIT PATCH 0/2] Fix issues with series deletion
The following series fixes 2 problems with series deletion.
I am however not happy at all with the way we delete patches and series, starting with an existence check and then deleting. If any error occurs midway, then we are left with an inconsistent state that the user has to cleanup by hand. IMHO, we should have those methods be as robust as possible, maybe starting by removing the formatversion item, and printing a "cleaning up zombie stack" if does not find it. So at least after fixing a "delete" bug, we could rerun the same command and get to a sane state again.
Does that make sense ?
--
Yann Dirson <ydirson@altern.org> |
Debian-related: <dirson@debian.org> | Support Debian GNU/Linux:
| Freedom, Power, Stability, Gratis
http://ydirson.free.fr/ | Check <http://www.debian.org/>