Page MenuHomePhabricator

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

Authored by epriestley on Jun 5 2020, 12:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 31, 6:07 AM
Unknown Object (File)
Thu, Jan 30, 9:24 PM
Unknown Object (File)
Thu, Jan 30, 1:24 PM
Unknown Object (File)
Thu, Jan 30, 8:40 AM
Unknown Object (File)
Thu, Jan 30, 5:22 AM
Unknown Object (File)
Wed, Jan 29, 9:27 PM
Unknown Object (File)
Wed, Jan 29, 1:26 PM
Unknown Object (File)
Sat, Jan 25, 8:00 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