def get_tags(self, repository, revnum, project=None): """Retrieve a list of paths that refer to tags in a specific revision. :return: Iterator over tuples with (project, branch path) """ return get_root_paths(repository, [self._add_project("tags", project)], revnum, self.is_tag, project)
def get_branches(self, repository, revnum, project=None): """Retrieve a list of paths that refer to branches in a specific revision. :return: Iterator over tuples with (project, branch path) """ return get_root_paths(repository, self.branches, revnum, self.is_branch, project)
def get_branches(self, repository, revnum, project=None): """Return a list of paths that refer to branches in a specific revision. :return: Iterator over tuples with (project, branch path) """ return get_root_paths( repository, [self._add_project(x, project) for x in ["branches", "trunk"]], revnum, self.is_branch, project)
def get_tags(self, repository, revnum, project=None): return get_root_paths(repository, self.scheme.tag_list, revnum, self.scheme.is_tag, project)
def get_branches(self, repository, revnum, project=None): return get_root_paths(repository, self.scheme.branch_list, revnum, self.scheme.is_branch, project)