Changeset View
Changeset View
Standalone View
Standalone View
src/work/ArcanistWorkEngine.php
| Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Lines | if (count($selected) > 1) { | ||||
| "\n%!\n%W\n\n", | "\n%!\n%W\n\n", | ||||
| pht('AMBIGUOUS MARKER'), | pht('AMBIGUOUS MARKER'), | ||||
| pht( | pht( | ||||
| 'More than one marker in the local working copy is associated '. | 'More than one marker in the local working copy is associated '. | ||||
| 'with the revision "%s", using the most recent one.', | 'with the revision "%s", using the most recent one.', | ||||
| $revision_ref->getMonogram())); | $revision_ref->getMonogram())); | ||||
| foreach ($selected as $marker) { | foreach ($selected as $marker) { | ||||
| echo tsprintf('%s', $marker->newDisplayRef()); | echo tsprintf('%s', $marker->newRefView()); | ||||
| } | } | ||||
| echo tsprintf("\n"); | echo tsprintf("\n"); | ||||
| $target = last($selected); | $target = last($selected); | ||||
| } else { | } else { | ||||
| $target = head($selected); | $target = head($selected); | ||||
| } | } | ||||
| $log->writeStatus( | $log->writeStatus( | ||||
| pht('REVISION'), | pht('REVISION'), | ||||
| pht('Resuming work on revision:')); | pht('Resuming work on revision:')); | ||||
| echo tsprintf('%s', $revision_ref->newDisplayRef()); | echo tsprintf('%s', $revision_ref->newRefView()); | ||||
| echo tsprintf("\n"); | echo tsprintf("\n"); | ||||
| return $target; | return $target; | ||||
| } | } | ||||
| private function workOnTask($symbol) { | private function workOnTask($symbol) { | ||||
| $workflow = $this->getWorkflow(); | $workflow = $this->getWorkflow(); | ||||
| Show All 27 Lines | |||||