Page MenuHomePhabricator

Add "bin/repository mark-reachable" for fixing commit reachability flags
ClosedPublic

Authored by epriestley on Jun 16 2016, 4:04 PM.
Tags
None
Referenced Files
F18097256: D16132.id38810.diff
Fri, Aug 8, 12:30 PM
F18094055: D16132.id.diff
Thu, Aug 7, 9:56 PM
F18092388: D16132.id38816.diff
Thu, Aug 7, 9:58 AM
F18090761: D16132.id.diff
Wed, Aug 6, 5:24 PM
F18083176: D16132.diff
Tue, Aug 5, 9:13 AM
Unknown Object (File)
Jun 1 2025, 8:33 AM
Unknown Object (File)
May 31 2025, 3:50 PM
Unknown Object (File)
May 30 2025, 7:18 AM
Subscribers
None

Details

Summary

Ref T9028. This corrects the reachability of existing commits in a repository.

In particular, it can be used to mark deleted commits as unreachable.

Test Plan
  • Ran it on a bad repository, with bad args, etc.
  • Ran it on a clean repo, got no changes.
  • Marked a reachable commit as unreachable, ran script, got it marked reachable.
  • Started deleting tags and branches from the local working copy while running the script, saw greater parts of the repository get marked unreachable.
  • Pulled repository again, everything automatically revived.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Add "bin/repository mark-reachable" for fixing commit reachability flags.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 16 2016, 4:29 PM
This revision was automatically updated to reflect the committed changes.