comparison mercurial/repair.py @ 46677:b4c2a2af25e2

requirements: also add a fncache constant Continue the cleanup to the remaining requirements Differential Revision: https://phab.mercurial-scm.org/D10109
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 03 Mar 2021 12:37:13 +0100
parents cd9154343160
children d4ba4d51f85f
comparison
equal deleted inserted replaced
46676:ab58098bebed 46677:b4c2a2af25e2
441 441
442 Missing entries will be added. Extra entries will be removed. 442 Missing entries will be added. Extra entries will be removed.
443 """ 443 """
444 repo = repo.unfiltered() 444 repo = repo.unfiltered()
445 445
446 if b'fncache' not in repo.requirements: 446 if requirements.FNCACHE_REQUIREMENT not in repo.requirements:
447 ui.warn( 447 ui.warn(
448 _( 448 _(
449 b'(not rebuilding fncache because repository does not ' 449 b'(not rebuilding fncache because repository does not '
450 b'support fncache)\n' 450 b'support fncache)\n'
451 ) 451 )