Mercurial > hg
diff mercurial/bundlerepo.py @ 17210:ec80ae982689
_updatebranchcache: prevent deleting dict key during iteration
We use dict.keys() to fetch all keys before starting to delete some. Otherwise
python complains that the dictionnary is altered during iteration.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Tue, 17 Jul 2012 16:16:17 +0200 |
parents | 1d710fe5ee0e |
children | 03e552aaae67 8ab0640c3090 |