##// 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 918 'again\n'))
919 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 927 return backuppath
922 928
923 929 def upgraderepo(ui, repo, run=False, optimize=None):
@@ -303,7 +303,6 b' old store should be backed up'
303 303 00manifest.i
304 304 data
305 305 fncache
306 lock
307 306 phaseroots
308 307 undo
309 308 undo.backup.fncache
General Comments 0
You need to be logged in to leave comments. Login now