def diff_branch(target_branch):
    with hide('running', 'stdout'):
        puts('fetching upstream branches...')
        local('git fetch')
        rev_list = 'git rev-list --count --left-right {}...HEAD'.format(
            target_branch)
        upstream_counts = local(rev_list, capture=True)

    upstream_ahead, local_ahead = map(int, upstream_counts.split('\t'))
    return upstream_ahead, local_ahead
Invoke list_get() with extra parameter.
dataset/ETHPy150Open onefinestay/gonzo/gonzo/helpers/git.py/diff_branch--crossover with--dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/_test_list_get.py/TestListGet.test_list_get_with_extra_parameter