##// END OF EJS Templates
undo-files: cleanup legacy files when applicable...
marmoute -
r51199:862969b6 stable
parent child Browse files
Show More
@@ -43,6 +43,14 b' def active(func):'
43 UNDO_BACKUP = b'%s.backupfiles'
43 UNDO_BACKUP = b'%s.backupfiles'
44
44
45 UNDO_FILES_MAY_NEED_CLEANUP = [
45 UNDO_FILES_MAY_NEED_CLEANUP = [
46 # legacy entries that might exists on disk from previous version:
47 (b'store', b'%s.narrowspec'),
48 (b'plain', b'%s.narrowspec.dirstate'),
49 (b'plain', b'%s.branch'),
50 (b'plain', b'%s.bookmarks'),
51 (b'store', b'%s.phaseroots'),
52 (b'plain', b'%s.dirstate'),
53 # files actually in uses today:
46 (b'plain', b'%s.desc'),
54 (b'plain', b'%s.desc'),
47 # Always delete undo last to make sure we detect that a clean up is needed if
55 # Always delete undo last to make sure we detect that a clean up is needed if
48 # the process is interrupted.
56 # the process is interrupted.
General Comments 0
You need to be logged in to leave comments. Login now