From: Yann Dirson Date: Wed, 6 Jun 2007 21:05:22 +0000 (+0200) Subject: Fix removal of series to nuke the formatversion config item. X-Git-Tag: v0.14.3~225 X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/commitdiff_plain/789d8ecb1e0371098d07335672692f24554203ae?ds=sidebyside 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 --- 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,