1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-02-01 01:18:21 +01:00
phorge-arcanist/src/repository/api
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
..
base Don't fatal without Conduit for "--patch" and "--bundle" 2012-03-16 13:40:33 -07:00
git Don't fatal without Conduit for "--patch" and "--bundle" 2012-03-16 13:40:33 -07:00
mercurial Don't fatal without Conduit for "--patch" and "--bundle" 2012-03-16 13:40:33 -07:00
subversion Don't fatal without Conduit for "--patch" and "--bundle" 2012-03-16 13:40:33 -07:00