hgext/largefiles/reposetup.py
branchstable
changeset 16281 d8cc67114dc3
parent 16141 f346de4dff57
child 16282 50247a7a9983
equal deleted inserted replaced
16280:0806823370d8 16281:d8cc67114dc3
   135                                 listunknown, listsubrepos)
   135                                 listunknown, listsubrepos)
   136 
   136 
   137                 # Create a copy of match that matches standins instead
   137                 # Create a copy of match that matches standins instead
   138                 # of largefiles.
   138                 # of largefiles.
   139                 def tostandin(file):
   139                 def tostandin(file):
   140                     if inctx(lfutil.standin(file), ctx2):
   140                     if working and lfutil.standin(file) in repo.dirstate:
   141                         return lfutil.standin(file)
   141                         return lfutil.standin(file)
   142                     return file
   142                     return file
   143 
   143 
   144                 # Create a function that we can use to override what is
   144                 # Create a function that we can use to override what is
   145                 # normally the ignore matcher.  We've already checked
   145                 # normally the ignore matcher.  We've already checked