mercurial/copies.py
changeset 9102 bbc78cb1bf15
parent 9030 3f56055ff1d7
parent 9097 431462bd8478
child 9467 4c041f1ee1b4
equal deleted inserted replaced
9092:9aebeea7ac00 9102:bbc78cb1bf15
   118         if len(n) != 20: # in a working context?
   118         if len(n) != 20: # in a working context?
   119             if c1.rev() is None:
   119             if c1.rev() is None:
   120                 return c1.filectx(f)
   120                 return c1.filectx(f)
   121             return c2.filectx(f)
   121             return c2.filectx(f)
   122         return repo.filectx(f, fileid=n)
   122         return repo.filectx(f, fileid=n)
   123     ctx = util.cachefunc(makectx)
   123 
   124 
   124     ctx = util.lrucachefunc(makectx)
   125     copy = {}
   125     copy = {}
   126     fullcopy = {}
   126     fullcopy = {}
   127     diverge = {}
   127     diverge = {}
   128 
   128 
   129     def checkcopies(f, m1, m2):
   129     def checkcopies(f, m1, m2):