Page MenuHomePhabricator
Paste P1018

exception.diff
ActivePublic

Authored by epriestley on Dec 3 2013, 12:33 AM.
Tags
None
Referenced Files
F86816: exception.diff
Dec 3 2013, 12:33 AM
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