diff mercurial/copies.py @ 9102:bbc78cb1bf15

Merge with stable
author Matt Mackall <mpm@selenic.com>
date Thu, 09 Jul 2009 19:49:02 -0500
parents 3f56055ff1d7 431462bd8478
children 4c041f1ee1b4
line wrap: on
line diff
--- a/mercurial/copies.py	Sat Jul 04 14:18:15 2009 +0100
+++ b/mercurial/copies.py	Thu Jul 09 19:49:02 2009 -0500
@@ -120,8 +120,8 @@
                 return c1.filectx(f)
             return c2.filectx(f)
         return repo.filectx(f, fileid=n)
-    ctx = util.cachefunc(makectx)
 
+    ctx = util.lrucachefunc(makectx)
     copy = {}
     fullcopy = {}
     diverge = {}