mercurial/repair.py
changeset 30274 c1345969f6c5
parent 30001 e38d85be978f
child 30371 fccc3eea2ddb
equal deleted inserted replaced
30273:86f4ef63d507 30274:c1345969f6c5
   242         if tmpbundlefile:
   242         if tmpbundlefile:
   243             # Remove temporary bundle only if there were no exceptions
   243             # Remove temporary bundle only if there were no exceptions
   244             vfs.unlink(tmpbundlefile)
   244             vfs.unlink(tmpbundlefile)
   245 
   245 
   246     repo.destroyed()
   246     repo.destroyed()
       
   247     # return the backup file path (or None if 'backup' was False) so
       
   248     # extensions can use it
       
   249     return backupfile
   247 
   250 
   248 def rebuildfncache(ui, repo):
   251 def rebuildfncache(ui, repo):
   249     """Rebuilds the fncache file from repo history.
   252     """Rebuilds the fncache file from repo history.
   250 
   253 
   251     Missing entries will be added. Extra entries will be removed.
   254     Missing entries will be added. Extra entries will be removed.