X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/ac50371bda350d9d8a9d7bd23b1d5691d82b4d0d..99c529152847b7e20e48dc477925e315918eed5d:/stgit/stack.py diff --git a/stgit/stack.py b/stgit/stack.py index 2f1a8bc..a477e7d 100644 --- a/stgit/stack.py +++ b/stgit/stack.py @@ -430,7 +430,7 @@ class Series: def patch_exists(self, name): """Return true if there is a patch with the given name, false otherwise.""" - return self.__patch_applied(name) or self.__patch_applied(name) + return self.__patch_applied(name) or self.__patch_unapplied(name) def __begin_stack_check(self): """Save the current HEAD into .git/refs/heads/base if the stack