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
F15339562: D16132.diff
Sun, Mar 9, 2:48 PM
Unknown Object (File)
Thu, Feb 20, 10:39 AM
Unknown Object (File)
Thu, Feb 20, 10:16 AM
Unknown Object (File)
Thu, Feb 20, 10:06 AM
Unknown Object (File)
Wed, Feb 19, 4:04 PM
Unknown Object (File)
Wed, Feb 19, 2:37 PM
Unknown Object (File)
Mon, Feb 17, 8:22 PM
Unknown Object (File)
Feb 9 2025, 1:49 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.