##// END OF EJS Templates
vfs: treat 'undo.' file the same as 'journal.' file...
Boris Feld -
r40782:41b6245c default
parent child Browse files
Show More
@@ -1031,7 +1031,7 b' class localrepository(object):'
1031 if path.startswith('cache/'):
1031 if path.startswith('cache/'):
1032 msg = 'accessing cache with vfs instead of cachevfs: "%s"'
1032 msg = 'accessing cache with vfs instead of cachevfs: "%s"'
1033 repo.ui.develwarn(msg % path, stacklevel=2, config="cache-vfs")
1033 repo.ui.develwarn(msg % path, stacklevel=2, config="cache-vfs")
1034 if path.startswith('journal.'):
1034 if path.startswith('journal.') or path.startswith('undo.'):
1035 # journal is covered by 'lock'
1035 # journal is covered by 'lock'
1036 if repo._currentlock(repo._lockref) is None:
1036 if repo._currentlock(repo._lockref) is None:
1037 repo.ui.develwarn('write with no lock: "%s"' % path,
1037 repo.ui.develwarn('write with no lock: "%s"' % path,
General Comments 0
You need to be logged in to leave comments. Login now