def retrieve_repository_metadata(changeset, repository_uri=None, encoding="utf-8"):
    command = ["git", "log", r'--pretty=format:%H']
    if changeset:
        command.append("%s.." % changeset)
    proc = Popen(command, stdout=PIPE, stderr=PIPE)
    stdout, stderr = proc.communicate()

    if not proc.returncode == 0:
        log.error("Cannot retrieve log: stdout: %s stderr: %s" % (stdout, stderr))
        raise CalledProcessError(proc.returncode, command)

    metadata = []
    hashes = stdout.splitlines()
    hashes.reverse()
    for hash in hashes:
        metadata.append(get_revision_metadata(hash, repository_uri=repository_uri, encoding=encoding))

    return metadata
Gets the biggest possible value in Sliders range.
dataset/ETHPy150Open ella/citools/citools/git.py/retrieve_repository_metadata--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/ui/slider.py/Slider.getMax