Page MenuHomePhabricator

Improve "--hold", save/restore state, bookmark creation, and some warnings for "arc land" in Mercurial
ClosedPublic

Authored by epriestley on Jun 11 2020, 12:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 2:19 AM
Unknown Object (File)
Sat, Apr 20, 5:21 PM
Unknown Object (File)
Sat, Apr 20, 11:08 AM
Unknown Object (File)
Wed, Apr 17, 11:55 PM
Unknown Object (File)
Wed, Apr 17, 2:55 PM
Unknown Object (File)
Sat, Mar 30, 9:33 AM
Unknown Object (File)
Wed, Mar 27, 4:45 PM
Unknown Object (File)
Mar 20 2024, 4:31 AM
Subscribers
None

Details

Summary

Ref T13546. Ref T9948.

  • Make "--hold" show the same set of commands to manually push that the normal workflow would use.
  • Make save/restore state work.
  • Make bookmark creation prompt for confirmation.
  • Improve / provide some additional warnings and help text.
Test Plan

Ran various increasingly complex "arc land" workflows, e.g. "arc land --hold --onto fauxmark1 --onto fauxmark2 --into default . --revision 118 --trace"

Diff Detail

Repository
rARC Arcanist
Branch
landx4
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningsrc/land/engine/ArcanistMercurialLandEngine.php:349TXT3Line Too Long
Advicesrc/repository/state/ArcanistMercurialLocalState.php:13XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 24643
Build 33976: Run Core Tests
Build 33975: arc lint + arc unit