mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
Minor, move the "repair" instructions to the right place.
This commit is contained in:
parent
16c20c92fe
commit
1c1fdf0448
1 changed files with 10 additions and 10 deletions
|
@ -269,16 +269,6 @@ final class PhabricatorRepositoryPullLocalDaemon
|
||||||
$target);
|
$target);
|
||||||
|
|
||||||
if (!$commit) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -300,6 +290,16 @@ final class PhabricatorRepositoryPullLocalDaemon
|
||||||
$target);
|
$target);
|
||||||
|
|
||||||
if (!$commit) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue