Show More
@@ -362,7 +362,7 b' def _updatetags(filetags, alltags, tagty' | |||
|
362 | 362 | |
|
363 | 363 | def _filename(repo): |
|
364 | 364 | """name of a tagcache file for a given repo or repoview""" |
|
365 |
filename = ' |
|
|
365 | filename = 'tags2' | |
|
366 | 366 | if repo.filtername: |
|
367 | 367 | filename = '%s-%s' % (filename, repo.filtername) |
|
368 | 368 | return filename |
@@ -386,7 +386,7 b' def _readtagcache(ui, repo):' | |||
|
386 | 386 | info from each returned head. (See findglobaltags().) |
|
387 | 387 | ''' |
|
388 | 388 | try: |
|
389 | cachefile = repo.vfs(_filename(repo), 'r') | |
|
389 | cachefile = repo.cachevfs(_filename(repo), 'r') | |
|
390 | 390 | # force reading the file for static-http |
|
391 | 391 | cachelines = iter(cachefile) |
|
392 | 392 | except IOError: |
@@ -486,11 +486,11 b' def _getfnodes(ui, repo, nodes):' | |||
|
486 | 486 | def _writetagcache(ui, repo, valid, cachetags): |
|
487 | 487 | filename = _filename(repo) |
|
488 | 488 | try: |
|
489 | cachefile = repo.vfs(filename, 'w', atomictemp=True) | |
|
489 | cachefile = repo.cachevfs(filename, 'w', atomictemp=True) | |
|
490 | 490 | except (OSError, IOError): |
|
491 | 491 | return |
|
492 | 492 | |
|
493 | ui.log('tagscache', 'writing .hg/%s with %d tags\n', | |
|
493 | ui.log('tagscache', 'writing .hg/cache/%s with %d tags\n', | |
|
494 | 494 | filename, len(cachetags)) |
|
495 | 495 | |
|
496 | 496 | if valid[2]: |
General Comments 0
You need to be logged in to leave comments.
Login now