From 789d8ecb1e0371098d07335672692f24554203ae Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Wed, 6 Jun 2007 23:05:22 +0200 Subject: [PATCH] Fix removal of series to nuke the formatversion config item. Since this parameter is now used to decide if the branch has already been initialised, not removing it forbids to create a stack with the same name as one that was deleted. Signed-off-by: Yann Dirson --- stgit/stack.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stgit/stack.py b/stgit/stack.py index a6d16f2..f4782a4 100644 --- a/stgit/stack.py +++ b/stgit/stack.py @@ -719,6 +719,7 @@ class Series(StgitObject): config.unset('branch.%s.remote' % self.__name) config.unset('branch.%s.merge' % self.__name) config.unset('branch.%s.stgit.parentbranch' % self.__name) + config.unset('branch.%s.stgitformatversion' % self.__name) def refresh_patch(self, files = None, message = None, edit = False, show_patch = False, -- 2.11.0