MCPcopy Create free account
hub / github.com/ezyang/ghstack / _raise_needs_rebase

Method _raise_needs_rebase

src/ghstack/submit.py:1054–1060  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1052 )
1053
1054 def _raise_needs_rebase(self) -> None:
1055 raise RuntimeError(
1056 """\
1057ghstack --next requires all PRs in the stack to be open. One of your PRs
1058is closed (likely due to being merged). Please rebase to upstream and try again.
1059"""
1060 )
1061
1062 def _warn_empty(
1063 self, diff: ghstack.diff.Diff, elab_diff: Optional[DiffWithGitHubMetadata]

Callers 1

process_commitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected