HomePhorge

Add a --repair flag to "bin/repository discover"

Description

Add a --repair flag to "bin/repository discover"

Summary:
If a repository is missing commits because they mysteriously vanished, there's no reasonable way to get them back right now. Provide a way to ignore the state in the database and rediscover the entire repository unconditionally.

We don't queue any reparses or anything, but when I move reparse into this script we can hook things up or something. This generally shouldn't be too important anyway.

Test Plan: Ran repository discover --repair on Phabricator.

Reviewers: jungejason, nh, vrana

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D2850

Details

Provenance
epriestleyAuthored on Jun 25 2012, 12:35 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP13d96e63776f: Introduce "bin/repository" for repository management
Branches
Unknown
Tags
Unknown

Event Timeline