hgext/largefiles/reposetup.py
branchstable
changeset 16571 1ff42ee98446
parent 16285 e53c0b2d7b60
child 16586 ebd2ead59f1c
equal deleted inserted replaced
16570:63f10a163017 16571:1ff42ee98446
   396 
   396 
   397                     # append directory separator to avoid collisions
   397                     # append directory separator to avoid collisions
   398                     if not fstandin.endswith(os.sep):
   398                     if not fstandin.endswith(os.sep):
   399                         fstandin += os.sep
   399                         fstandin += os.sep
   400 
   400 
   401                     # prevalidate matching standin directories
       
   402                     if util.any(st for st in match._files
       
   403                                    if st.startswith(fstandin)):
       
   404                         continue
       
   405                     actualfiles.append(f)
   401                     actualfiles.append(f)
   406                 match._files = actualfiles
   402                 match._files = actualfiles
   407 
   403 
   408                 def matchfn(f):
   404                 def matchfn(f):
   409                     if origmatchfn(f):
   405                     if origmatchfn(f):