]> khamidou — GitHub mirrors - arcanist.git/commit
Fix an issue in arc patch with git-svn
authorPeng Li <pengli@fb.com>
Tue, 8 Apr 2014 17:46:12 +0000 (10:46 -0700)
committerepriestley <git@epriestley.com>
Tue, 8 Apr 2014 17:46:27 +0000 (10:46 -0700)
commit0cff627d758c09b50872b5b516311fab9f6dcff4
treec0233ad3c0a9b9a2f552370a82f60de1add1a91b
parentf099168aa82c1c1f5a6fd8f8b8f32e9237e7b309
Fix an issue in arc patch with git-svn

Summary:
We recently moved our HEAD and it caused some issues on `arc patch` with git-svn repos. The base revision is incorrect and patch will fail. Add the check in such case to make it work.
The check was there before but removed in change b202158. The reason wasn't mentioned there though.

Test Plan: Tried it on svn.

Reviewers: lifeihuang, JoelB, #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D8717
src/workflow/ArcanistPatchWorkflow.php