Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15403582
D10994.id26399.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
845 B
Referenced Files
None
Subscribers
None
D10994.id26399.diff
View Options
diff --git a/src/repository/api/ArcanistMercurialAPI.php b/src/repository/api/ArcanistMercurialAPI.php
--- a/src/repository/api/ArcanistMercurialAPI.php
+++ b/src/repository/api/ArcanistMercurialAPI.php
@@ -464,6 +464,16 @@
// on a large repo) because mercurial has to decompress and parse the
// entire manifest every time. Do it in one large batch instead.
+ // See T6112. On windows escapeshellarg removes the %-sign from the command
+ // string rendering the fast approach useless.
+ if (phutil_is_windows()) {
+ $filedata = array();
+ foreach ($paths as $path) {
+ $filedata[$path] = $this->getFileDataAtRevision($path, $revision);
+ }
+ return $filedata;
+ }
+
// hg cat will write the file data to files in a temp directory
$tmpdir = Filesystem::createTemporaryDirectory();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 19, 3:59 AM (6 d, 5 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7224557
Default Alt Text
D10994.id26399.diff (845 B)
Attached To
Mode
D10994: Allow binary files to be uploaded via arcanist under windows
Attached
Detach File
Event Timeline
Log In to Comment