Differential D8719 Diff 20678 src/applications/differential/landing/DifferentialLandingToHostedGit.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/landing/DifferentialLandingToHostedGit.php
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | public function createMenuItem( | ||||
if (!$repository->isHosted()) { | if (!$repository->isHosted()) { | ||||
return; | return; | ||||
} | } | ||||
if (!$repository->isWorkingCopyBare()) { | if (!$repository->isWorkingCopyBare()) { | ||||
return; | return; | ||||
} | } | ||||
// TODO: This temporarily disables this action, because it doesn't work | |||||
// and is confusing to users. If you want to use it, comment out this line | |||||
// for now and we'll provide real support evnetually. | |||||
btrahan: *eventually | |||||
return; | |||||
return $this->createActionView( | return $this->createActionView( | ||||
$revision, | $revision, | ||||
pht('Land to Hosted Repository')); | pht('Land to Hosted Repository')); | ||||
} | } | ||||
} | } |
*eventually