Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1018
exception.diff
Active
Public
Actions
Authored by
epriestley
on Dec 3 2013, 12:33 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F86816: exception.diff
Dec 3 2013, 12:33 AM
2013-12-03 00:33:55 (UTC+0)
Subscribers
None
diff --git a/src/repository/api/ArcanistRepositoryAPI.php b/src/repository/api/ArcanistRepositoryAPI.php
index 1c58fdb..b436c59 100644
--- a/src/repository/api/ArcanistRepositoryAPI.php
+++ b/src/repository/api/ArcanistRepositoryAPI.php
@@ -297,8 +297,16 @@ abstract class ArcanistRepositoryAPI {
$future->setCWD($root);
list($stdout) = $future->resolvex();
- return Filesystem::resolvePath(rtrim($stdout, "\n"), $root);
+ echo "CDUP = {$stdout}\n";
+ echo "ROOT = {$root}\n";
+
+ $resolve = Filesystem::resolvePath(rtrim($stdout, "\n"), $root);
+
+ echo "RESOLVE = {$resolve}\n";
+
+ return $resolve;
} catch (CommandException $ex) {
+ throw $ex;
// This might be because the $root isn't a Git working copy, or the user
// might not have Git installed at all so the `git` command fails. Assume
// that users trying to work with git working copies will have a working
Event Timeline
Log In to Comment