Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistDiffWorkflow.php
Show First 20 Lines • Show All 2,735 Lines • ▼ Show 20 Lines | private function pushChangesToStagingArea($id) { | ||||
} | } | ||||
if ($is_lfs) { | if ($is_lfs) { | ||||
$ref = '+'.$commit.':'.$diff_tag; | $ref = '+'.$commit.':'.$diff_tag; | ||||
$err = phutil_passthru( | $err = phutil_passthru( | ||||
'git push -- %s %s', | 'git push -- %s %s', | ||||
$staging_uri, | $staging_uri, | ||||
$ref); | $ref); | ||||
if ($err) { | |||||
$this->writeWarn( | |||||
pht('STAGING FAILED'), | |||||
pht('Unable to push lfs changes to the staging area.')); | |||||
throw new ArcanistUsageException( | |||||
pht( | |||||
'Failed to push lfs changes to staging area. Correct the issue, '. | |||||
'or use --skip-staging to skip this step.')); | |||||
} | |||||
} | } | ||||
return $refs; | return $refs; | ||||
} | } | ||||
/** | /** | ||||
* Try to upload lint and unit test results into modern Harbormaster build | * Try to upload lint and unit test results into modern Harbormaster build | ||||
▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines |