hgext/largefiles/overrides.py
branchstable
changeset 19161 24877c50aada
parent 19001 2a35296a6304
child 19226 c58b6ab4c26f
equal deleted inserted replaced
19160:0848be1f1aad 19161:24877c50aada
   331 #
   331 #
   332 # The overridden function filters the unknown files by removing any
   332 # The overridden function filters the unknown files by removing any
   333 # largefiles. This makes the merge proceed and we can then handle this
   333 # largefiles. This makes the merge proceed and we can then handle this
   334 # case further in the overridden manifestmerge function below.
   334 # case further in the overridden manifestmerge function below.
   335 def overridecheckunknownfile(origfn, repo, wctx, mctx, f):
   335 def overridecheckunknownfile(origfn, repo, wctx, mctx, f):
   336     if lfutil.standin(f) in wctx:
   336     if lfutil.standin(repo.dirstate.normalize(f)) in wctx:
   337         return False
   337         return False
   338     return origfn(repo, wctx, mctx, f)
   338     return origfn(repo, wctx, mctx, f)
   339 
   339 
   340 # The manifest merge handles conflicts on the manifest level. We want
   340 # The manifest merge handles conflicts on the manifest level. We want
   341 # to handle changes in largefile-ness of files at this level too.
   341 # to handle changes in largefile-ness of files at this level too.