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
F19816788: D16132.id38810.diff
Thu, Mar 5, 8:29 AM
F19535081: D16132.diff
Jan 21 2026, 4:08 AM
F18953147: D16132.diff
Nov 12 2025, 7:07 AM
F18811363: D16132.diff
Oct 20 2025, 2:58 AM
F18773086: D16132.diff
Oct 9 2025, 6:59 AM
F18698616: D16132.id.diff
Sep 27 2025, 11:35 AM
F18693431: D16132.id38816.diff
Sep 27 2025, 1:07 AM
F18654185: D16132.id38810.diff
Sep 22 2025, 3:41 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.