D759: dirstate: move parents source of truth to dirstatemap

mbolin (Michael Bolin) phabricator at mercurial-scm.org
Sun Oct 8 00:10:05 UTC 2017


mbolin added inline comments.

INLINE COMMENTS

> dirstate.py:320
>  
>      def parents(self):
>          return [self._validate(p) for p in self._pl]

Can/should `parents()`, `p1()`, and `p2()` here all be updated to go through `map.parents()`? We should be moving in the direction of removing `_pl`, no?

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D759

To: durham, #hg-reviewers, indygreg
Cc: mbolin, indygreg, mercurial-devel


More information about the Mercurial-devel mailing list