Homec4science

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

Authored by epriestley <git@epriestley.com> on Jun 25 2012, 21:35.

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

Committed
epriestley <git@epriestley.com>Jun 25 2012, 21:35
Pushed
aubortJan 31 2017, 17:16
Parents
rPH13d96e63776f: Introduce "bin/repository" for repository management
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHca31e3e84bf6: Add a --repair flag to "bin/repository discover" (authored by epriestley <git@epriestley.com>).Jun 25 2012, 21:35