D663: dirstate: perform transactions with _map using single call, where possible

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Wed Sep 13 11:10:33 EDT 2017


yuja requested changes to this revision.
yuja added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> dirstate.py:554
> +                entry = self._map.get(d)
> +                if entry is not None and entry != 'r':
>                      raise error.Abort(

test-add.t fails here. It was `self[d]`, not `self._map[d]`.

REPOSITORY
  rHG Mercurial

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

To: mbolin, #hg-reviewers, phillco, yuja
Cc: yuja, phillco, mercurial-devel


More information about the Mercurial-devel mailing list