##// 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 def _tryhoist(ui, remotebookmark):
241 class bundlestore(object):
241 class bundlestore(object):
242 def __init__(self, repo):
242 def __init__(self, repo):
243 self._repo = repo
243 self._repo = repo
244 storetype = self._repo.ui.config('infinitepush', 'storetype', '')
244 storetype = self._repo.ui.config('infinitepush', 'storetype')
245 if storetype == 'disk':
245 if storetype == 'disk':
246 from . import store
246 from . import store
247 self.store = store.filebundlestore(self._repo.ui, self._repo)
247 self.store = store.filebundlestore(self._repo.ui, self._repo)
@@ -251,7 +251,7 class bundlestore(object):
251 raise error.Abort(
251 raise error.Abort(
252 _('unknown infinitepush store type specified %s') % storetype)
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 if indextype == 'disk':
255 if indextype == 'disk':
256 from . import fileindexapi
256 from . import fileindexapi
257 self.index = fileindexapi.fileindexapi(self._repo)
257 self.index = fileindexapi.fileindexapi(self._repo)
General Comments 0
You need to be logged in to leave comments. Login now