Page MenuHomePhabricator

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

Authored by epriestley on Jun 11 2020, 12:08 AM.



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

rARC Arcanist
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Jun 11 2020, 12:08 AM
epriestley requested review of this revision.Jun 11 2020, 12:08 AM
  • Fix pht() issue.
  • Actually fix pht() issue.
This revision was not accepted when it landed; it landed in state Needs Review.Jun 11 2020, 12:31 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.