def get_changeset(self, req, ident): repo = self.env.get_repository() repo.sync() try: chgset = repo.get_changeset(ident) except NoSuchChangeset: raise NotFound() return prepare_changeset_values(self.env, chgset)
def changeset_commited(self, chgset): self.notify('changeset', prepare_changeset_values(self.env, chgset))