mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 23:02:41 +01:00
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
This commit is contained in:
parent
299b9c4c6b
commit
0795edfe1a
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ EOTEXT
|
|||
// delete the old branch if necessary
|
||||
if (!$this->keepBranch) {
|
||||
$repository_api->execxLocal(
|
||||
'strip -r %s',
|
||||
'--config extensions.mq= strip -r %s',
|
||||
$branch_root);
|
||||
|
||||
if ($repository_api->isBookmark($this->branch)) {
|
||||
|
|
Loading…
Reference in a new issue