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, Jan 2, 2:02 AM
Unknown Object (File)
Sun, Dec 29, 11:04 AM
Unknown Object (File)
Sat, Dec 28, 4:52 PM
Unknown Object (File)
Sat, Dec 28, 3:45 PM
Unknown Object (File)
Thu, Dec 26, 12:01 PM
Unknown Object (File)
Mon, Dec 23, 8:21 PM
Unknown Object (File)
Wed, Dec 18, 10:52 AM
Unknown Object (File)
Tue, Dec 17, 6:34 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