HomeSealhub

Update other usages of "hg rebase" to use the new extension-enabling function

Description

Update other usages of "hg rebase" to use the new extension-enabling function

Summary:
Refs T13659, D21697.

I suppose I missed these cases.

Test Plan:

  • I ran arc land --test and verified the rebase used by ArcanistMercurialLandEngine was run with the flag to enable the extension.
$ hg --encoding utf-8 --config 'extensions.rebase=' rebase --dest 2fd68f4c48aaab9f6d5613b90e60b8219a9af0ae --rev 6132da63090c2c8a8d479aaae7b20497dda3e8fd..6132da63090c2c8a8d479aaae7b20497dda3e8fd --logfile - --keep --collapse
  • I modified the merging to throw an exception before writing to the future's stdin and verified that after arc completed there was no rebase active.
  • I set up 3 dependent diffs and landed the middle revision and verified the first and second revisions landed but not the tip revision and there were no errors and the resulting working directory was correct.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Maniphest Tasks: T13659

Differential Revision: https://secure.phabricator.com/D21706

Details

Provenance
Christopher SpeckAuthored on Jul 21 2021, 22:50
kuba-orlikPushed on Jan 24 2022, 10:17
Parents
R118:ec68005d758c: Remove "phutil_deprecated()"
Branches
Unknown
Tags
Unknown

Event Timeline