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)
Jan 10 2026, 12:22 AM
Unknown Object (File)
Nov 27 2025, 1:56 PM
Unknown Object (File)
Nov 26 2025, 9:45 PM
Unknown Object (File)
Nov 17 2025, 3:02 AM
Unknown Object (File)
Nov 17 2025, 3:02 AM
Unknown Object (File)
Oct 18 2025, 4:16 PM
Unknown Object (File)
Oct 8 2025, 2:28 AM
Unknown Object (File)
Oct 4 2025, 8:25 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