Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistWorkflow.php
Show First 20 Lines • Show All 2,030 Lines • ▼ Show 20 Lines | if ($uuid !== null) { | ||||
'The UUID for this working copy is "%s".', | 'The UUID for this working copy is "%s".', | ||||
$uuid); | $uuid); | ||||
return array($query, $reasons); | return array($query, $reasons); | ||||
} else { | } else { | ||||
$reasons[] = pht( | $reasons[] = pht( | ||||
'This repository has no VCS UUID (this is normal for git/hg).'); | 'This repository has no VCS UUID (this is normal for git/hg).'); | ||||
} | } | ||||
// TODO: Swap this for a RemoteRefQuery. | |||||
$remote_uri = $this->getRepositoryAPI()->getRemoteURI(); | $remote_uri = $this->getRepositoryAPI()->getRemoteURI(); | ||||
if ($remote_uri !== null) { | if ($remote_uri !== null) { | ||||
$query = array( | $query = array( | ||||
'remoteURIs' => array($remote_uri), | 'remoteURIs' => array($remote_uri), | ||||
); | ); | ||||
$reasons[] = pht( | $reasons[] = pht( | ||||
'The remote URI for this working copy is "%s".', | 'The remote URI for this working copy is "%s".', | ||||
$remote_uri); | $remote_uri); | ||||
▲ Show 20 Lines • Show All 434 Lines • Show Last 20 Lines |