Show More
@@ -1250,7 +1250,12 b' class localrepository(object):' | |||||
1250 | msg = b'accessing cache with vfs instead of cachevfs: "%s"' |
|
1250 | msg = b'accessing cache with vfs instead of cachevfs: "%s"' | |
1251 | repo.ui.develwarn(msg % path, stacklevel=3, config=b"cache-vfs") |
|
1251 | repo.ui.develwarn(msg % path, stacklevel=3, config=b"cache-vfs") | |
1252 | # path prefixes covered by 'lock' |
|
1252 | # path prefixes covered by 'lock' | |
1253 |
vfs_path_prefixes = ( |
|
1253 | vfs_path_prefixes = ( | |
|
1254 | b'journal.', | |||
|
1255 | b'undo.', | |||
|
1256 | b'strip-backup/', | |||
|
1257 | b'cache/', | |||
|
1258 | ) | |||
1254 | if any(path.startswith(prefix) for prefix in vfs_path_prefixes): |
|
1259 | if any(path.startswith(prefix) for prefix in vfs_path_prefixes): | |
1255 | if repo._currentlock(repo._lockref) is None: |
|
1260 | if repo._currentlock(repo._lockref) is None: | |
1256 | repo.ui.develwarn( |
|
1261 | repo.ui.develwarn( |
General Comments 0
You need to be logged in to leave comments.
Login now