def get_range_hashes(repo, start, end):
    assert repo("rev-parse", "--revs-only", start)
    assert repo("rev-parse", "--revs-only", end)
    hashes = repo("log", start + ".." + end, "--format=%H").split()
    if not all(c in string.hexdigits for s in hashes for c in s):
        raise ValueError(
            "phlgit_log__getRangeHashes() invalid hashes\n" + str(hashes))
    hashes.reverse()
    return hashes
Return a list of strings corresponding to commits from 'start' to 'end'.
dataset/ETHPy150Open bloomberg/phabricator-tools/py/phl/phlgit_log.py/get_range_hashes