mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-10-25 10:08:50 +02:00
5150252f91
Summary: Adds a secret, undoucmented "encoding" key to ".arcconfig" which makes a very half-hearted effort to convert encodings. This is probably good enough that Differential can be used for code review, but there will be issues with 'arc patch', 'arc export', paste, maybe conduit stuff, Diffusion, and whatever else I haven't thought of. This also doesn't store the original encoding so anything converted like this won't reasonably be able to be made to work with all that stuff in the future. See T452 for a broader discussion of the issues involved. Test Plan: Short circuited the UTF-8 detection to always fail, had my files "converted" from ISO-8859-1 to UTF-8. @davidreuss: you can test this by applying this patch to arcanist/, adding '"encoding" : "ISO-8859-1"' to your .arcconfig, touching some non-ASCII file, and then running "arc diff". Reviewers: davidreuss, jungejason, tuomaspelkonen, aran Reviewed By: davidreuss CC: aran, davidreuss, epriestley, nshamg123 Differential Revision: 812
27 lines
956 B
PHP
27 lines
956 B
PHP
<?php
|
|
/**
|
|
* This file is automatically generated. Lint this module to rebuild it.
|
|
* @generated
|
|
*/
|
|
|
|
|
|
|
|
phutil_require_module('arcanist', 'difference');
|
|
phutil_require_module('arcanist', 'differential/commitmessage');
|
|
phutil_require_module('arcanist', 'exception/usage');
|
|
phutil_require_module('arcanist', 'exception/usage/userabort');
|
|
phutil_require_module('arcanist', 'parser/diff');
|
|
phutil_require_module('arcanist', 'parser/diff/changetype');
|
|
phutil_require_module('arcanist', 'repository/api/base');
|
|
phutil_require_module('arcanist', 'workflow/base');
|
|
phutil_require_module('arcanist', 'workflow/lint');
|
|
phutil_require_module('arcanist', 'workflow/unit');
|
|
|
|
phutil_require_module('phutil', 'console');
|
|
phutil_require_module('phutil', 'console/editor');
|
|
phutil_require_module('phutil', 'filesystem/filelist');
|
|
phutil_require_module('phutil', 'future/exec');
|
|
phutil_require_module('phutil', 'utils');
|
|
|
|
|
|
phutil_require_source('ArcanistDiffWorkflow.php');
|