Page MenuHomePhabricator

Introduce "RepositoryLocalState", a modern version of "requireCleanWorkingCopy()"
ClosedPublic

Authored by epriestley on Jun 5 2020, 12:52 AM.
Tags
None
Referenced Files
F18790224: D21314.diff
Wed, Oct 15, 1:06 PM
F18772873: D21314.id.diff
Thu, Oct 9, 5:27 AM
F18756590: D21314.diff
Sun, Oct 5, 12:13 PM
F18198803: D21314.diff
Aug 18 2025, 1:16 AM
F18101150: D21314.id.diff
Aug 9 2025, 12:21 PM
F18051344: D21314.id.diff
Aug 3 2025, 10:54 PM
F17996600: D21314.diff
Aug 2 2025, 4:38 AM
F17939323: D21314.id.diff
Jul 31 2025, 3:02 AM
Subscribers
None

Details

Summary

Ref T13546. Introduces a more structured construct for saving and restoring local repository state.

This is similar to old behavior, except that:

  • "arc.autostash" is no longer respected;
  • untracked changes are stashed; and
  • we do not offer to amend.
Test Plan

In future changes, saved and restored various permutations of local state.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable