hgext/largefiles/overrides.py
changeset 16449 874a680a3e23
parent 16439 290850e7aa43
child 16515 12dabc22de77
equal deleted inserted replaced
16448:e6b45e9a75dc 16449:874a680a3e23
   169         # function handle this.
   169         # function handle this.
   170         if not getattr(repo, "_isaddremove", False):
   170         if not getattr(repo, "_isaddremove", False):
   171             lfutil.reporemove(repo, remove, unlink=True)
   171             lfutil.reporemove(repo, remove, unlink=True)
   172     finally:
   172     finally:
   173         wlock.release()
   173         wlock.release()
       
   174 
       
   175 # For overriding mercurial.hgweb.webcommands so that largefiles will
       
   176 # appear at their right place in the manifests.
       
   177 def decodepath(orig, path):
       
   178     return lfutil.splitstandin(path) or path
   174 
   179 
   175 # -- Wrappers: modify existing commands --------------------------------
   180 # -- Wrappers: modify existing commands --------------------------------
   176 
   181 
   177 # Add works by going through the files that the user wanted to add and
   182 # Add works by going through the files that the user wanted to add and
   178 # checking if they should be added as largefiles. Then it makes a new
   183 # checking if they should be added as largefiles. Then it makes a new