D4575: localrepo: use boolean in opener options
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Tue Sep 18 22:01:08 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG6f26417b71bb: localrepo: use boolean in opener options (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4575?vs=11013&id=11173
REVISION DETAIL
https://phab.mercurial-scm.org/D4575
AFFECTED FILES
mercurial/localrepo.py
CHANGE DETAILS
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -818,8 +818,8 @@
return caps
def _applyopenerreqs(self):
- self.svfs.options = dict((r, 1) for r in self.requirements
- if r in self.openerreqs)
+ self.svfs.options = {r: True for r in self.requirements
+ if r in self.openerreqs}
# experimental config: format.chunkcachesize
chunkcachesize = self.ui.configint('format', 'chunkcachesize')
if chunkcachesize is not None:
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list