changeset 6808:6a9025a667ae

localrepo: do not modify a dictionary being iterated in status()
author Christian Boos <cboos@neuf.fr>
date Fri, 18 Jul 2008 12:31:40 +0200
parents 6d68edc3217f
children 89ec85aa6cc3
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sun Jul 20 19:08:59 2008 +0200
+++ b/mercurial/localrepo.py	Fri Jul 18 12:31:40 2008 +0200
@@ -953,7 +953,7 @@
 
         def mfmatches(ctx):
             mf = ctx.manifest().copy()
-            for fn in mf:
+            for fn in mf.keys():
                 if not match(fn):
                     del mf[fn]
             return mf