MCPcopy
hub / github.com/pyodide/pyodide / diff_old_new_branch

Function diff_old_new_branch

tools/backport.py:501–508  ·  view source on GitHub ↗
(branch_name)

Source from the content-addressed store, hash-verified

499
500
501def diff_old_new_branch(branch_name):
502 branch_name_old = branch_name + "-old"
503 if not branch_exists(branch_name_old):
504 return
505 if os.isatty(sys.stdout.fileno()):
506 print("\nWill show diff between previous branch and new branch.")
507 input("Press enter to continue.")
508 run(["git", "diff", branch_name_old, branch_name])
509
510
511def last_tag_tuple() -> tuple[str, str, str]:

Callers 2

make_changelog_branchFunction · 0.85
make_backport_branchFunction · 0.85

Calls 3

branch_existsFunction · 0.85
isattyMethod · 0.80
runFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…