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
F14064977: D16132.diff
Tue, Nov 19, 2:27 AM
F14053230: D16132.diff
Fri, Nov 15, 1:37 PM
F14038700: D16132.diff
Mon, Nov 11, 1:30 AM
F14023784: D16132.diff
Thu, Nov 7, 3:47 AM
F14007453: D16132.diff
Tue, Oct 29, 6:06 AM
F13995953: D16132.id.diff
Wed, Oct 23, 4:57 PM
F13994409: D16132.id38816.diff
Wed, Oct 23, 5:57 AM
F13990834: D16132.diff
Tue, Oct 22, 6:38 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
Branch
ref4
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12686
Build 16130: Run Core Tests
Build 16129: arc lint + arc unit

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.