Page MenuHomePhabricator

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

Authored by cspeckmim on Jul 21 2021, 8:59 PM.
Tags
None
Referenced Files
F13063233: D21706.id51695.diff
Sat, Apr 20, 6:01 AM
Unknown Object (File)
Thu, Apr 18, 7:03 PM
Unknown Object (File)
Thu, Apr 11, 11:11 AM
Unknown Object (File)
Sat, Apr 6, 2:41 PM
Unknown Object (File)
Tue, Apr 2, 9:58 PM
Unknown Object (File)
Sat, Mar 30, 10:10 AM
Unknown Object (File)
Fri, Mar 29, 3:44 AM
Unknown Object (File)
Thu, Mar 21, 5:46 PM
Subscribers

Details

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.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable