Page MenuHomePhabricator

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

Authored by epriestley on Jun 5 2020, 12:52 AM.
Tags
None
Referenced Files
F18978252: D21314.diff
Sun, Nov 16, 7:31 PM
F18923223: D21314.id.diff
Nov 9 2025, 4:23 PM
F18903174: D21314.diff
Nov 8 2025, 4:17 AM
F18807158: D21314.id50732.diff
Oct 18 2025, 11:32 PM
F18790224: D21314.diff
Oct 15 2025, 1:06 PM
F18772873: D21314.id.diff
Oct 9 2025, 5:27 AM
F18756590: D21314.diff
Oct 5 2025, 12:13 PM
F18198803: D21314.diff
Aug 18 2025, 1:16 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