Page MenuHomePhabricator
Paste P1016

debug.diff
ActivePublic

Authored by epriestley on Dec 3 2013, 12:26 AM.
Tags
None
Referenced Files
F86814: debug.diff
Dec 3 2013, 12:26 AM
Subscribers
None
diff --git a/src/repository/api/ArcanistRepositoryAPI.php b/src/repository/api/ArcanistRepositoryAPI.php
index 1c58fdb..5aeccc1 100644
--- a/src/repository/api/ArcanistRepositoryAPI.php
+++ b/src/repository/api/ArcanistRepositoryAPI.php
@@ -297,7 +297,14 @@ 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) {
// 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

Event Timeline