1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-21 04:01:29 +01:00
phorge-arcanist/src/workflow
David Reuss 1f69ab5fdb Added local encoding parameter for arc diff workflow
Summary:
If any hunks is detected as non-utf8, and you've never submitted diffs
for a certain project before, you would get a ERR-BAD-ARCANIST-PROJECT
exception. This makes it possible to submit the patch properly, so you
can set the encoding in the interface afterwards. Further this fixes
cases where you don't supply a diff but will result in hunks getting
treated as binary, but that still beats the exception behaviour.

Test Plan:
Ran `arc diff` with and without the new --encoding param and
got the expected results. Also ensured the diff (with non utf-8 hunks)
would be properly created even when no encoding is specified.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: 1135
2011-12-01 08:56:03 -08:00
..
amend Don't do working copy checks for "arc amend --show" 2011-10-24 23:37:47 -07:00
base Fix "arc lint" exploding on new directories 2011-11-03 14:28:04 -07:00
branch Fix "arc branch" to work if you are on "(no branch)" add revision IDs 2011-06-29 13:30:44 -07:00
call-conduit Move Conduit management into Workflow 2011-07-15 12:38:45 -07:00
commit Allow modification of the svn commit message via an event listener 2011-11-16 16:40:19 -08:00
cover Some documentation. 2011-02-19 11:36:08 -08:00
diff Added local encoding parameter for arc diff workflow 2011-12-01 08:56:03 -08:00
download Provide "arc upload --json" 2011-08-01 17:44:43 -07:00
exception/notsupported Add an "arc merge" workflow 2011-09-15 07:42:45 -07:00
export Fix breaking because of D935 2011-10-17 19:32:38 -07:00
git-hook-pre-receive Automatically detect when to mark revisions committed 2011-09-27 11:06:02 -07:00
help 'arc liberate', convenience wrapper for various libphutil operations 2011-05-17 09:53:19 -07:00
install-certificate From Arcanist, send 'host' to server for validation on setup workflows 2011-07-05 10:10:28 -07:00
liberate Fix documentation: stop __init__ rendering in bold 2011-08-04 14:09:13 +01:00
lint Fix "arc lint" exploding on new directories 2011-11-03 14:28:04 -07:00
list Deprecate ArcanistBaseWorkflow::getUserGUID in favor of "PHID" 2011-07-15 12:52:17 -07:00
mark-committed Check that rev is accepted in arc mark-committed --finalize 2011-11-10 16:18:17 -08:00
merge Automatically detect when to mark revisions committed 2011-09-27 11:06:02 -07:00
paste Provide "arc upload --json" 2011-08-01 17:44:43 -07:00
patch Allow running arc patch without authentication. 2011-11-01 15:31:04 -07:00
shell-complete Some documentation. 2011-02-19 11:36:08 -08:00
svn-hook-pre-commit Fix issue with svn-hook-pre-commit when resolving .arcconfig for nested 2011-03-05 00:49:52 -08:00
unit Document paths parameter in arc unit 2011-11-30 15:23:09 -08:00
upload Provide "arc upload --json" 2011-08-01 17:44:43 -07:00