Just renaming the branch.branchname section doesn't rename the branch.branchname.stgit section -- we have to do that explicitly. This fixes bug 9692. Signed-off-by: Karl Hasselström <kha@xxxxxxxxxxx> --- stgit/stack.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stgit/stack.py b/stgit/stack.py index dbd7ea4..9c15b3f 100644 --- a/stgit/stack.py +++ b/stgit/stack.py @@ -616,8 +616,8 @@ class Series(PatchSet): self.get_name(), to_stack.get_name()) # Rename the config section - config.rename_section("branch.%s" % self.get_name(), - "branch.%s" % to_name) + for k in ['branch.%s', 'branch.%s.stgit']: + config.rename_section(k % self.get_name(), k % to_name) self.__init__(to_name) - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html