diff mercurial/localrepo.py @ 36155:c02771617a70

py3: avoid changing dictionary during iteration dict.items() and friends are iterators/views in Python 3. You aren't allowed to mutate the underlying dictionary when iterating on these views. So iterate over a copy of things. Differential Revision: https://phab.mercurial-scm.org/D2164
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 11 Feb 2018 16:56:29 -0800
parents 55e8efa2451a
children 646002338365
line wrap: on
line diff