Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2682275
D25691.1734652382.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
643 B
Referenced Files
None
Subscribers
None
D25691.1734652382.diff
View Options
diff --git a/src/repository/api/ArcanistSubversionAPI.php b/src/repository/api/ArcanistSubversionAPI.php
--- a/src/repository/api/ArcanistSubversionAPI.php
+++ b/src/repository/api/ArcanistSubversionAPI.php
@@ -40,6 +40,13 @@
$argv[0] = 'svn '.$argv[0];
$future = newv('ExecFuture', $argv);
+
+ // Note that historically we run Subversion commands keeping environment.
+ // But, let's keep English, to have a reliable parser.
+ // https://superuser.com/a/1779369/390314
+ $future->updateEnv('LANGUAGE', null);
+ $future->updateEnv('LC_ALL', 'C');
+
$future->setCWD($this->getPath());
return $future;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 23:53 (19 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016243
Default Alt Text
D25691.1734652382.diff (643 B)
Attached To
Mode
D25691: Fix arc diff in Subversion for non-English languages
Attached
Detach File
Event Timeline
Log In to Comment