Show More
@@ -918,6 +918,12 def _upgraderepo(ui, srcrepo, dstrepo, r | |||||
918 | 'again\n')) |
|
918 | 'again\n')) | |
919 | scmutil.writerequires(srcrepo.vfs, requirements) |
|
919 | scmutil.writerequires(srcrepo.vfs, requirements) | |
920 |
|
920 | |||
|
921 | # The lock file from the old store won't be removed because nothing has a | |||
|
922 | # reference to its new location. So clean it up manually. Alternatively, we | |||
|
923 | # could update srcrepo.svfs and other variables to point to the new | |||
|
924 | # location. This is simpler. | |||
|
925 | backupvfs.unlink('store/lock') | |||
|
926 | ||||
921 | return backuppath |
|
927 | return backuppath | |
922 |
|
928 | |||
923 | def upgraderepo(ui, repo, run=False, optimize=None): |
|
929 | def upgraderepo(ui, repo, run=False, optimize=None): |
General Comments 0
You need to be logged in to leave comments.
Login now