Mercurial > hg
changeset 37233:912f4f64047f
infinitepush: drop the default value of config options which are registered
Differential Revision: https://phab.mercurial-scm.org/D2991
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 31 Mar 2018 14:33:37 +0530 |
parents | 15691d71da23 |
children | c1fac3878196 |
files | hgext/infinitepush/__init__.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/infinitepush/__init__.py Sat Mar 31 14:31:29 2018 +0530 +++ b/hgext/infinitepush/__init__.py Sat Mar 31 14:33:37 2018 +0530 @@ -241,7 +241,7 @@ class bundlestore(object): def __init__(self, repo): self._repo = repo - storetype = self._repo.ui.config('infinitepush', 'storetype', '') + storetype = self._repo.ui.config('infinitepush', 'storetype') if storetype == 'disk': from . import store self.store = store.filebundlestore(self._repo.ui, self._repo) @@ -251,7 +251,7 @@ raise error.Abort( _('unknown infinitepush store type specified %s') % storetype) - indextype = self._repo.ui.config('infinitepush', 'indextype', '') + indextype = self._repo.ui.config('infinitepush', 'indextype') if indextype == 'disk': from . import fileindexapi self.index = fileindexapi.fileindexapi(self._repo)