Differential D13200 Diff 31965 src/applications/repository/daemon/PhabricatorMercurialGraphStream.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/daemon/PhabricatorMercurialGraphStream.php
| Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | while ($hglog->valid()) { | ||||
| $this->localParents[$node] = $this->parseParents($parents, $rev); | $this->localParents[$node] = $this->parseParents($parents, $rev); | ||||
| if ($this->isParsed($until_type, $until_name)) { | if ($this->isParsed($until_type, $until_name)) { | ||||
| return; | return; | ||||
| } | } | ||||
| } | } | ||||
| throw new Exception( | throw new Exception( | ||||
| "No such {$until_type} '{$until_name}' in repository!"); | pht( | ||||
| "No such %s '%s' in repository!", | |||||
| $until_type, | |||||
| $until_name)); | |||||
| } | } | ||||
| /** | /** | ||||
| * Parse a {parents} template, returning the local commit numbers. | * Parse a {parents} template, returning the local commit numbers. | ||||
| */ | */ | ||||
| private function parseParents($parents, $target_rev) { | private function parseParents($parents, $target_rev) { | ||||
| ▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines | |||||