1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-10-24 17:48:50 +02:00
phorge-arcanist/src/workflow
epriestley 89753d5d49 Don't fatal without Conduit for "--patch" and "--bundle"
Summary:
In some workflows, we don't have Conduit at all, so we'll fail with a raw exception. Test for conduit presence before trying to make the encoding call.

Also move some "instanceof" logic for updates into RepositoryAPI (factoring, windows compat).

Test Plan: Ran "arc patch --patch some.patch".

Reviewers: 20after4, davidreuss, nh, btrahan

Reviewed By: 20after4

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1935
2012-03-16 13:40:33 -07:00
..
alias Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
amend Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
base Respect custom set encoding in patch/export workflows 2012-03-14 07:08:21 -07:00
branch Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
call-conduit Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
commit Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
cover Improve "arc cover" parameters 2012-03-12 17:04:20 -07:00
diff Respect custom set encoding in patch/export workflows 2012-03-14 07:08:21 -07:00
download Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
exception/notsupported Add an "arc merge" workflow 2011-09-15 07:42:45 -07:00
export Respect custom set encoding in patch/export workflows 2012-03-14 07:08:21 -07:00
git-hook-pre-receive Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
help Simplify arc help, add arc help --full 2012-03-05 10:44:17 -08:00
install-certificate Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
land Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
liberate Add a check to 'arc liberate' for loose .php files in the library root 2012-03-13 11:17:28 -07:00
lint Make lint output look like a compiler 2012-03-09 11:20:08 -08:00
list Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
mark-committed Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
merge Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
paste Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
patch Don't fatal without Conduit for "--patch" and "--bundle" 2012-03-16 13:40:33 -07:00
shell-complete Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
svn-hook-pre-commit Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
unit Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
upload Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00
which Improve arc compatibility on Windows 2012-03-05 10:02:37 -08:00