comparison mercurial/sshpeer.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 1ac628cd7113
children 9baf4330d88f
comparison
equal deleted inserted replaced
17209:5cd3e526ac37 17210:ec80ae982689