1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +01:00

Minor, move the "repair" instructions to the right place.

This commit is contained in:
epriestley 2012-07-02 07:22:56 -07:00
parent 16c20c92fe
commit 1c1fdf0448

View file

@ -269,16 +269,6 @@ final class PhabricatorRepositoryPullLocalDaemon
$target);
if (!$commit) {
$callsign = $repository->getCallsign();
$console = PhutilConsole::getConsole();
$console->writeErr(
"WARNING: Repository '%s' is missing commits ('%s' is missing from ".
"history). Run '%s' to repair the repository.\n",
$callsign,
$target,
"bin/repository discover --repair {$callsign}");
return false;
}
@ -300,6 +290,16 @@ final class PhabricatorRepositoryPullLocalDaemon
$target);
if (!$commit) {
$callsign = $repository->getCallsign();
$console = PhutilConsole::getConsole();
$console->writeErr(
"WARNING: Repository '%s' is missing commits ('%s' is missing from ".
"history). Run '%s' to repair the repository.\n",
$callsign,
$target,
"bin/repository discover --repair {$callsign}");
return false;
}