MCPcopy Create free account
hub / github.com/pytorch/pytorch / update_existing

Function update_existing

scripts/release_notes/commitlist.py:416–419  ·  view source on GitHub ↗
(path, new_version)

Source from the content-addressed store, hash-verified

414
415
416def update_existing(path, new_version):
417 commits = CommitList.from_existing(path)
418 commits.update_to(new_version)
419 commits.write_result()
420
421
422def rerun_with_new_filters(path):

Callers 1

mainFunction · 0.85

Calls 3

from_existingMethod · 0.80
update_toMethod · 0.80
write_resultMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…