diff options
author | Catalin Marinas <catalin.marinas@gmail.com> | 2009-09-30 21:51:19 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@gmail.com> | 2009-09-30 21:51:19 +0100 |
commit | 63bffebacfdc5a87275e53a51b3263c9bddd93f7 (patch) | |
tree | 37c35ce015025429fbee2642791f4d86a89daf6e | |
parent | f73aeed63821f211efe8f09ee7285122efee2886 (diff) | |
download | stgit-63bffebacfdc5a87275e53a51b3263c9bddd93f7.tar.gz |
Delete the hidden patches as well when deleting a branch
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
-rw-r--r-- | stgit/stack.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stgit/stack.py b/stgit/stack.py index 9958e7a..93647f2 100644 --- a/stgit/stack.py +++ b/stgit/stack.py @@ -624,7 +624,8 @@ class Series(PatchSet): """Deletes an stgit series """ if self.is_initialised(): - patches = self.get_unapplied() + self.get_applied() + patches = self.get_unapplied() + self.get_applied() + \ + self.get_hidden(); if not force and patches: raise StackException, \ 'Cannot delete: the series still contains patches' |