Page MenuHomePhabricator

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

Authored by epriestley on Jun 5 2020, 12:52 AM.
Tags
None
Referenced Files
F14088317: D21314.diff
Sun, Nov 24, 2:45 AM
Unknown Object (File)
Oct 22 2024, 2:08 PM
Unknown Object (File)
Oct 16 2024, 2:54 PM
Unknown Object (File)
Oct 9 2024, 1:27 PM
Unknown Object (File)
Oct 9 2024, 1:27 PM
Unknown Object (File)
Oct 9 2024, 1:27 PM
Unknown Object (File)
Oct 7 2024, 10:04 PM
Unknown Object (File)
Sep 30 2024, 8:45 PM
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