]> khamidou — GitHub mirrors - arcanist.git/commit
Fix hg 'arc land' when the mq extension is not enabled
authordurham <durham@fb.com>
Thu, 14 Feb 2013 19:37:49 +0000 (11:37 -0800)
committerdurham <durham@fb.com>
Thu, 14 Feb 2013 19:37:49 +0000 (11:37 -0800)
commit0795edfe1acd5b7a598e0c48fa1f7116047e2a07
tree8c3000beb140e426ebcd4068a9688cc8b7b2958c
parent299b9c4c6bf0939403095aeba167bfed7df70814
Fix hg 'arc land' when the mq extension is not enabled

Summary:
Mercurial 'arc land' uses the 'hg strip' command to clean up after
itself, but this command isn't available unless the mq extension is enabled.
The fix is to enable it for that particular command only.

Test Plan: Ran 'arc land' with the mq extension disabled.  It worked.

Reviewers: epriestley, bos, sid0, dschleimer

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D4955
src/workflow/ArcanistLandWorkflow.php