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
F13198650: D21351.id.diff
Mon, May 13, 8:27 AM
F13196879: D21351.diff
Sun, May 12, 11:38 PM
Unknown Object (File)
Sun, May 5, 5:48 PM
Unknown Object (File)
Sun, May 5, 3:32 AM
Unknown Object (File)
Fri, May 3, 8:52 AM
Unknown Object (File)
Fri, Apr 26, 5:42 AM
Unknown Object (File)
Thu, Apr 25, 2:19 AM
Unknown Object (File)
Sat, Apr 20, 5:21 PM
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