Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1197
Masterwork From Distant Lands
Active
Public
Actions
Authored by
epriestley
on Jul 9 2014, 9:19 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F175807: Masterwork_From_Distant_Lands
Jul 9 2014, 9:19 PM
2014-07-09 21:19:30 (UTC+0)
Subscribers
None
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':
Event Timeline
epriestley
edited the content of this paste.
(Show Details)
Jul 9 2014, 9:19 PM
2014-07-09 21:19:30 (UTC+0)
epriestley
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
epriestley
updated the paste's language from
autodetect
to
autodetect
.
Log In to Comment