hgext/largefiles/overrides.py
branchstable
changeset 19472 32e502b26983
parent 19226 c58b6ab4c26f
child 19775 0c626b68c5c6
equal deleted inserted replaced
19471:fd1bb7c1be78 19472:32e502b26983
   248         For any listed files run log on the standin too.
   248         For any listed files run log on the standin too.
   249         matchfn tries both the given filename and with .hglf stripped.
   249         matchfn tries both the given filename and with .hglf stripped.
   250         """
   250         """
   251         match = oldmatch(ctx, pats, opts, globbed, default)
   251         match = oldmatch(ctx, pats, opts, globbed, default)
   252         m = copy.copy(match)
   252         m = copy.copy(match)
   253         standins = [lfutil.standin(f) for f in m._files]
   253         for i in range(0, len(m._files)):
   254         m._files.extend(standins)
   254             standin = lfutil.standin(m._files[i])
       
   255             if standin in repo[ctx.node()]:
       
   256                 m._files[i] = standin
   255         m._fmap = set(m._files)
   257         m._fmap = set(m._files)
   256         m._always = False
   258         m._always = False
   257         origmatchfn = m.matchfn
   259         origmatchfn = m.matchfn
   258         def lfmatchfn(f):
   260         def lfmatchfn(f):
   259             lf = lfutil.splitstandin(f)
   261             lf = lfutil.splitstandin(f)