##// END OF EJS Templates
repair: clean up stale lock file from store backup...
Gregory Szorc -
r30781:f2c069bf default
parent child Browse files
Show More
@@ -918,6 +918,12 b' 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):
@@ -303,7 +303,6 b' old store should be backed up'
303 00manifest.i
303 00manifest.i
304 data
304 data
305 fncache
305 fncache
306 lock
307 phaseroots
306 phaseroots
308 undo
307 undo
309 undo.backup.fncache
308 undo.backup.fncache
General Comments 0
You need to be logged in to leave comments. Login now