Release Notes
Admin Documentation
Developer Documentation
About Project
import logging log = logging.getLogger(__name__) [docs]class Metadata: [docs] def __init__(self): self.type = None [docs] def get_changesets_for_setting_metadata(self, app, repository): repo = repository.hg_repo return repo.changelog [docs] def is_valid_for_type(self, repository, revisions_to_check=None): raise Exception("Unimplemented Method") [docs]class TipOnly(Metadata): [docs] def __init__(self): self.type = None [docs] def get_changesets_for_setting_metadata(self, app, repository): repo = repository.hg_repo return [repo.changelog.tip()]