commit 214fdbf4ef6e7bd83d4bff249ae68e2ef197bc5e
Author: Scott Little <email address hidden>
Date: Mon Jun 28 19:10:53 2021 -0400
Improved branching tools
This content was intended for inclusion vs LP 1924762.
Improve create_branches_and_tags.sh. by adding options to alter
.gitreview settings, including host, port, and project, as part
of branch creation.
Also add improved help/usage text for create_branches_and_tags.sh.
Improve git_remote_branch by adding a fallback method for finding
the remote branch. It finds the nearest branch on the current remote
and reports that. I only expect this to apply when the local branch
hasn't been set to track a remote branch.
Closes-Bug: 1924762
Signed-off-by: Scott Little <email address hidden>
Change-Id: I790aae159df0a2360d5e50d930fa3d3be038bcc1
Reviewed: https:/ /review. opendev. org/c/starlingx /root/+ /798692 /opendev. org/starlingx/ root/commit/ 214fdbf4ef6e7bd 83d4bff249ae68e 2ef197bc5e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 214fdbf4ef6e7bd 83d4bff249ae68e 2ef197bc5e
Author: Scott Little <email address hidden>
Date: Mon Jun 28 19:10:53 2021 -0400
Improved branching tools
This content was intended for inclusion vs LP 1924762.
Improve create_ branches_ and_tags. sh. by adding options to alter
.gitreview settings, including host, port, and project, as part
of branch creation.
Also add improved help/usage text for create_ branches_ and_tags. sh.
Improve git_remote_branch by adding a fallback method for finding
the remote branch. It finds the nearest branch on the current remote
and reports that. I only expect this to apply when the local branch
hasn't been set to track a remote branch.
Closes-Bug: 1924762 360d5e50d930fa3 d3be038bcc1
Signed-off-by: Scott Little <email address hidden>
Change-Id: I790aae159df0a2