1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-10-24 09:38:50 +02:00
phorge-arcanist/src/repository
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
..
api Don't fatal without Conduit for "--patch" and "--bundle" 2012-03-16 13:40:33 -07:00
hookapi Finalize Arcanist Classes 2012-01-31 12:07:05 -08:00
parser/mercurial Improve ArcanistMercurialParser's handling of unusual branch names 2012-03-06 20:14:25 -08:00