( )⚙ D10965 dirstate: stop using `oldstate` in `dirstate._addpath`

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: stop using `oldstate` in `dirstate._addpath`
ClosedPublic

Authored by marmoute on Jul 4 2021, 5:51 PM.

Details

Summary

We don't need to pass the oldstate around, so lets use the new property
instead.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

marmoute created this revision.Jul 4 2021, 5:51 PM
SimonSapin accepted this revision.Jul 5 2021, 12:43 AM
pulkit accepted this revision.Jul 6 2021, 12:36 PM
This revision is now accepted and ready to land.Jul 6 2021, 12:36 PM
baymax updated this revision to Diff 28867.Jul 6 2021, 2:09 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

This revision was automatically updated to reflect the committed changes.