HomePhabricator

phases: make phasecache._phasesets immutable

Authored by rdamazio.

Description

phases: make phasecache._phasesets immutable

Previously, some code paths would mutate the cache itself, which
could give weird results if multiple revsets got evaluated through
that path.

Differential Revision: https://phab.mercurial-scm.org/D7854

Details

Committed
rdamazioJan 13 2020, 10:11 PM
Differential Revision
D7854: phases: make phasecache._phasesets immutable
Parents
rHG23c399e39b27: phases: reduce code duplication in phasecache.getrevset
Branches
Unknown
Tags
Unknown