Page MenuHomePhabricator

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

Authored by epriestley on Jun 5 2020, 12:52 AM.
Tags
None
Referenced Files
F15509762: D21314.id.diff
Wed, Apr 16, 4:00 PM
F15505687: D21314.diff
Tue, Apr 15, 4:57 AM
F15497604: D21314.diff
Sun, Apr 13, 10:47 AM
F15483583: D21314.id.diff
Wed, Apr 9, 1:14 PM
F15470320: D21314.id50732.diff
Fri, Apr 4, 9:33 PM
F15466885: D21314.id50774.diff
Thu, Apr 3, 10:34 AM
F15449810: D21314.id50774.diff
Fri, Mar 28, 12:21 PM
F15425800: D21314.id50774.diff
Sun, Mar 23, 6:08 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