mercurial/repair.py
branchstable
changeset 11600 76454cbc11e4
parent 11333 e83aff248c17
child 11791 00cde9bddbe4
equal deleted inserted replaced
11599:6fcc066c0c2c 11600:76454cbc11e4
   148             f.close()
   148             f.close()
   149             if backup != "strip":
   149             if backup != "strip":
   150                 os.unlink(chgrpfile)
   150                 os.unlink(chgrpfile)
   151     except:
   151     except:
   152         if backupfile:
   152         if backupfile:
   153             ui.warn("strip failed, full bundle stored in '%s'\n" % backupfile)
   153             ui.warn(_("strip failed, full bundle stored in '%s'\n")
       
   154                     % backupfile)
   154         elif saveheads:
   155         elif saveheads:
   155             ui.warn("strip failed, partial bundle stored in '%s'\n"
   156             ui.warn(_("strip failed, partial bundle stored in '%s'\n")
   156                     % chgrpfile)
   157                     % chgrpfile)
   157         raise
   158         raise
   158 
   159 
   159     repo.destroyed()
   160     repo.destroyed()