comparison mercurial/repository.py @ 39851:1f7b3b980af8

lfs: add repository feature denoting the use of LFS Whether LFS is enabled seems like a useful feature to expose. This will also facilitate some future work around LFS feature compatibility. Differential Revision: https://phab.mercurial-scm.org/D4710
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 19 Sep 2018 13:48:59 -0700
parents d89d5bc06eaa
children 9534fe1e5d28
comparison
equal deleted inserted replaced
39850:d89d5bc06eaa 39851:1f7b3b980af8
23 23
24 # Revlogs are being used for file storage. 24 # Revlogs are being used for file storage.
25 REPO_FEATURE_REVLOG_FILE_STORAGE = b'revlogfilestorage' 25 REPO_FEATURE_REVLOG_FILE_STORAGE = b'revlogfilestorage'
26 # The storage part of the repository is shared from an external source. 26 # The storage part of the repository is shared from an external source.
27 REPO_FEATURE_SHARED_STORAGE = b'sharedstore' 27 REPO_FEATURE_SHARED_STORAGE = b'sharedstore'
28 # LFS supported for backing file storage.
29 REPO_FEATURE_LFS = b'lfs'
28 30
29 class ipeerconnection(interfaceutil.Interface): 31 class ipeerconnection(interfaceutil.Interface):
30 """Represents a "connection" to a repository. 32 """Represents a "connection" to a repository.
31 33
32 This is the base interface for representing a connection to a repository. 34 This is the base interface for representing a connection to a repository.