Mercurial > hg
changeset 32314:9f35c7836f60
localrepo: reformat set literals
Putting multiple elements on the same line makes diffs harder
to read. Switch to one line per element so future changes are
easier on the eyes.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 17 May 2017 20:01:29 -0700 |
parents | a580b2d65ded |
children | 67026d65a4fc |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 19 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu May 18 13:18:05 2017 -0700 +++ b/mercurial/localrepo.py Wed May 17 20:01:29 2017 -0700 @@ -247,11 +247,25 @@ class localrepository(object): - supportedformats = {'revlogv1', 'generaldelta', 'treemanifest', - 'manifestv2'} - _basesupported = supportedformats | {'store', 'fncache', 'shared', - 'relshared', 'dotencode'} - openerreqs = {'revlogv1', 'generaldelta', 'treemanifest', 'manifestv2'} + supportedformats = { + 'revlogv1', + 'generaldelta', + 'treemanifest', + 'manifestv2', + } + _basesupported = supportedformats | { + 'store', + 'fncache', + 'shared', + 'relshared', + 'dotencode', + } + openerreqs = { + 'revlogv1', + 'generaldelta', + 'treemanifest', + 'manifestv2', + } filtername = None # a list of (ui, featureset) functions.