mercurial/upgrade_utils/engine.py
branchstable
changeset 46695 8da44c36fc74
parent 46252 8023991dc811
child 46794 e2f7b2695ba1
equal deleted inserted replaced
46694:d6601547f22b 46695:8da44c36fc74
   514 
   514 
   515     # The lock file from the old store won't be removed because nothing has a
   515     # The lock file from the old store won't be removed because nothing has a
   516     # reference to its new location. So clean it up manually. Alternatively, we
   516     # reference to its new location. So clean it up manually. Alternatively, we
   517     # could update srcrepo.svfs and other variables to point to the new
   517     # could update srcrepo.svfs and other variables to point to the new
   518     # location. This is simpler.
   518     # location. This is simpler.
       
   519     assert backupvfs is not None  # help pytype
   519     backupvfs.unlink(b'store/lock')
   520     backupvfs.unlink(b'store/lock')
   520 
   521 
   521     return backuppath
   522     return backuppath