changeset 12899:fabe61418a53 stable

localrepo: do not modify ctx.remove() list in-place
author Patrick Mezard <pmezard@gmail.com>
date Mon, 01 Nov 2010 17:26:08 +0100
parents f2fd909053d9
children 4ff61287bde2
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Mon Nov 01 16:22:41 2010 +0100
+++ b/mercurial/localrepo.py	Mon Nov 01 17:26:08 2010 +0100
@@ -981,7 +981,7 @@
         """
 
         tr = lock = None
-        removed = ctx.removed()
+        removed = list(ctx.removed())
         p1, p2 = ctx.p1(), ctx.p2()
         m1 = p1.manifest().copy()
         m2 = p2.manifest()