equal
deleted
inserted
replaced
579 if upgrade_op.backup_store: |
579 if upgrade_op.backup_store: |
580 # The lock file from the old store won't be removed because nothing has a |
580 # The lock file from the old store won't be removed because nothing has a |
581 # reference to its new location. So clean it up manually. Alternatively, we |
581 # reference to its new location. So clean it up manually. Alternatively, we |
582 # could update srcrepo.svfs and other variables to point to the new |
582 # could update srcrepo.svfs and other variables to point to the new |
583 # location. This is simpler. |
583 # location. This is simpler. |
|
584 assert backupvfs is not None # help pytype |
584 backupvfs.unlink(b'store/lock') |
585 backupvfs.unlink(b'store/lock') |
585 |
586 |
586 return backuppath |
587 return backuppath |