

def clone_git_tree(git_dir):
    new_git_dir = tempfile.mkdtemp(prefix='reviewboard-test-upgrade.')
    os.chdir(git_dir)
    execute(['git', 'clone', git_dir, '.'])
    return new_git_dir

dataset/ETHPy150Open reviewboard/reviewboard/contrib/internal/test-upgrade.py clone_git_tree/VarMisuse@25/41 `new_git_dir`->`git_dir`