Lines Matching +full:delete +full:- +full:branch
2 # -*- coding: utf-8 -*-
55 "also stages the changes for commit. Either --tag or --commit must be "
59 "--tag", help="The tag that identifies the ExoPlayer commit to download.")
61 "--commit", help="The commit SHA of the ExoPlayer version to download.")
63 "--branch",
64 help="The branch to create for the change.",
65 default="download-exoplayer")
70 # Check whether the branch exists, and abort if it does.
71 if run(f"git rev-parse --verify --quiet {args.branch}", check=False):
72 sys.exit(f"\nBranch {args.branch} already exists. Please delete, or change "
73 "branch.")
75 if run(f"repo start {args.branch}"):
76 sys.exit(f"\nFailed to repo start {args.branch}. Check you don't have "
77 "uncommited changes in your current branch.")
81 run("git clone --no-checkout --filter=tree:0 "
87 commit_sha = run(f"git rev-list -n 1 {args.tag}")
98 mk_files_to_remove = run("find . -name \"*.mk\"")
100 run("find . -name \"*.mk\" -delete")