Page MenuHomePhabricator

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

Authored by epriestley on Jun 5 2020, 12:52 AM.
Tags
None
Referenced Files
F15333366: D21314.id50774.diff
Sat, Mar 8, 2:04 AM
F15331707: D21314.diff
Fri, Mar 7, 12:55 PM
Unknown Object (File)
Fri, Feb 28, 11:12 AM
Unknown Object (File)
Wed, Feb 26, 2:42 PM
Unknown Object (File)
Sat, Feb 22, 11:10 PM
Unknown Object (File)
Wed, Feb 12, 8:56 PM
Unknown Object (File)
Wed, Feb 12, 8:56 PM
Unknown Object (File)
Wed, Feb 12, 12:42 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