Page MenuHomePhabricator

Masterwork_From_Distant_Lands

Authored By
epriestley
Jul 9 2014, 9:19 PM
Size
1 KB
Referenced Files
None
Subscribers
None

Masterwork_From_Distant_Lands

diff --git a/src/repository/api/ArcanistGitAPI.php b/src/repository/api/ArcanistGitAPI.php
index d637fce..2cd73fb 100644
--- a/src/repository/api/ArcanistGitAPI.php
+++ b/src/repository/api/ArcanistGitAPI.php
@@ -1167,8 +1167,11 @@ final class ArcanistGitAPI extends ArcanistRepositoryAPI {
}
break;
case 'upstream':
- list($err, $upstream) = $this->execManualLocal(
+ list($err, $upstream, $stdout) = $this->execManualLocal(
"rev-parse --abbrev-ref --symbolic-full-name '@{upstream}'");
+ var_dump($err);
+ var_dump($upstream);
+ var_dump($stdout);
if (!$err) {
$upstream = rtrim($upstream);
list($upstream_merge_base) = $this->execxLocal(
@@ -1179,7 +1182,10 @@ final class ArcanistGitAPI extends ArcanistRepositoryAPI {
"it is the merge-base of the upstream of the current branch ".
"and HEAD, and matched the rule '{$rule}' in your {$source} ".
"'base' configuration.");
+ var_dump("MERGE BASE {$upstream_merge_base}");
return $upstream_merge_base;
+ } else {
+ throw new Exception("UPSTREAM ERROR {$err}!!");
}
break;
case 'this':

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/pc/ti/yxq5qq3r7tiucq3i
Default Alt Text
Masterwork_From_Distant_Lands (1 KB)

Event Timeline