From: Yann Dirson <ydirson@altern.org>
To: Catalin Marinas <catalin.marinas@gmail.com>
Cc: git@vger.kernel.org
Subject: [PATCH 2/2] Fix removal of series to nuke the formatversion config item.
Date: Wed, 06 Jun 2007 23:05:22 +0200 [thread overview]
Message-ID: <20070606210522.7657.13508.stgit@gandelf.nowhere.earth> (raw)
In-Reply-To: <20070606205852.7657.69286.stgit@gandelf.nowhere.earth>
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 <ydirson@altern.org>
---
stgit/stack.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/stgit/stack.py b/stgit/stack.py
index 30fcca7..e2bf6ac 100644
--- a/stgit/stack.py
+++ b/stgit/stack.py
@@ -718,6 +718,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,
next prev parent reply other threads:[~2007-06-06 21:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-06 21:05 [StGIT PATCH 0/2] Fix issues with series deletion Yann Dirson
2007-06-06 21:05 ` [PATCH 1/2] Fix removal of series with non-existant trash dir Yann Dirson
2007-06-06 21:05 ` Yann Dirson [this message]
2007-06-07 21:50 ` [StGIT PATCH 0/2] Fix issues with series deletion Catalin Marinas
2007-06-09 18:43 ` Yann Dirson
2007-06-12 22:16 ` Catalin Marinas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070606210522.7657.13508.stgit@gandelf.nowhere.earth \
--to=ydirson@altern.org \
--cc=catalin.marinas@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).