def checkout_latest():
    """
    Pull the latest code on the specified branch.
    """
    run('cd %(repo_path)s; git checkout %(branch)s; git pull origin %(branch)s' % env)
dataset/ETHPy150Open ireapps/census/censusweb/fabfile.py/checkout_latest/original