Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18100887
D21003.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
587 B
Referenced Files
None
Subscribers
None
D21003.diff
View Options
diff --git a/scripts/arcanist.php b/scripts/arcanist.php
--- a/scripts/arcanist.php
+++ b/scripts/arcanist.php
@@ -639,6 +639,17 @@
}
}
+ // If we didn't find anything, try alongside the arcanist directory
+ if (!$resolved) {
+ $resolved_location = Filesystem::resolvePath(
+ $location,
+ dirname(__FILE__).'/../../');
+ if (Filesystem::pathExists($resolved_location)) {
+ $location = $resolved_location;
+ $resolved = true;
+ }
+ }
+
$console = PhutilConsole::getConsole();
$console->writeLog(
"%s\n",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 10, 12:09 PM (3 w, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8695446
Default Alt Text
D21003.diff (587 B)
Attached To
Mode
D21003: Try to load arcanist libraries that are checked out alongside arcanist
Attached
Detach File
Event Timeline
Log In to Comment