MCPcopy Create free account
hub / github.com/angular/dev-infra / getLocalTargetBranchName

Function getLocalTargetBranchName

ng-dev/pr/merge/strategies/strategy.ts:100–102  ·  view source on GitHub ↗

Gets a deterministic local branch name for a given branch.

(targetBranch: string)

Source from the content-addressed store, hash-verified

98 // could bypass new codeowner ship rules.
99 if (requiredBaseSha && !this.git.hasCommit(TEMP_PR_HEAD_BRANCH, requiredBaseSha)) {
100 throw new UnsatisfiedBaseShaFatalError();
101 }
102
103 // First cherry-pick the PR into all local target branches in dry-run mode. This is
104 // purely for testing so that we can figure out whether the PR can be cherry-picked
105 // into the other target branches. We don't want to merge the PR through the API, and

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected