##// END OF EJS Templates
infinitepush: drop the default value of config options which are registered...
Pulkit Goyal -
r37250:912f4f64 default
parent child Browse files
Show More
@@ -241,7 +241,7 b' def _tryhoist(ui, remotebookmark):'
241 241 class bundlestore(object):
242 242 def __init__(self, repo):
243 243 self._repo = repo
244 storetype = self._repo.ui.config('infinitepush', 'storetype', '')
244 storetype = self._repo.ui.config('infinitepush', 'storetype')
245 245 if storetype == 'disk':
246 246 from . import store
247 247 self.store = store.filebundlestore(self._repo.ui, self._repo)
@@ -251,7 +251,7 b' class bundlestore(object):'
251 251 raise error.Abort(
252 252 _('unknown infinitepush store type specified %s') % storetype)
253 253
254 indextype = self._repo.ui.config('infinitepush', 'indextype', '')
254 indextype = self._repo.ui.config('infinitepush', 'indextype')
255 255 if indextype == 'disk':
256 256 from . import fileindexapi
257 257 self.index = fileindexapi.fileindexapi(self._repo)
General Comments 0
You need to be logged in to leave comments. Login now