##// END OF EJS Templates
cachevfs: add a devel warning for cache access though 'vfs'...
Boris Feld -
r33538:54b36d3f default
parent child Browse files
Show More
@@ -487,6 +487,9 b' class localrepository(object):'
487 487 if path.startswith(repo.path):
488 488 # truncate name relative to the repository (.hg)
489 489 path = path[len(repo.path) + 1:]
490 if path.startswith('cache/'):
491 msg = 'accessing cache with vfs instead of cachevfs: "%s"'
492 repo.ui.develwarn(msg % path, stacklevel=2, config="cache-vfs")
490 493 if path.startswith('journal.'):
491 494 # journal is covered by 'lock'
492 495 if repo._currentlock(repo._lockref) is None:
General Comments 0
You need to be logged in to leave comments. Login now