X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/764d110156e4951ca5671a700ee2402fa3597734..ca2160163b2a8209e5b04e155a8f4dafbe9334c8:/stgit/stack.py diff --git a/stgit/stack.py b/stgit/stack.py index bd08b35..d889f37 100644 --- a/stgit/stack.py +++ b/stgit/stack.py @@ -509,11 +509,17 @@ class Series(PatchSet): raise StackException, 'Branch "%s" not initialised' % self.get_name() return read_strings(self.__applied_file) + def set_applied(self, applied): + write_strings(self.__applied_file, applied) + def get_unapplied(self): if not os.path.isfile(self.__unapplied_file): raise StackException, 'Branch "%s" not initialised' % self.get_name() return read_strings(self.__unapplied_file) + def set_unapplied(self, unapplied): + write_strings(self.__unapplied_file, unapplied) + def get_hidden(self): if not os.path.isfile(self.__hidden_file): return []