##// END OF EJS Templates
configitems: register the 'format.obsstore-version' config
marmoute -
r33241:fd50788a default
parent child Browse files
Show More
@@ -122,6 +122,9 b" coreconfigitem('format', 'manifestcaches"
122 coreconfigitem('format', 'maxchainlen',
122 coreconfigitem('format', 'maxchainlen',
123 default=None,
123 default=None,
124 )
124 )
125 coreconfigitem('format', 'obsstore-version',
126 default=None,
127 )
125 coreconfigitem('hostsecurity', 'ciphers',
128 coreconfigitem('hostsecurity', 'ciphers',
126 default=None,
129 default=None,
127 )
130 )
@@ -717,7 +717,7 b' def makestore(ui, repo):'
717 """Create an obsstore instance from a repo."""
717 """Create an obsstore instance from a repo."""
718 # read default format for new obsstore.
718 # read default format for new obsstore.
719 # developer config: format.obsstore-version
719 # developer config: format.obsstore-version
720 defaultformat = ui.configint('format', 'obsstore-version', None)
720 defaultformat = ui.configint('format', 'obsstore-version')
721 # rely on obsstore class default when possible.
721 # rely on obsstore class default when possible.
722 kwargs = {}
722 kwargs = {}
723 if defaultformat is not None:
723 if defaultformat is not None:
General Comments 0
You need to be logged in to leave comments. Login now