# HG changeset patch # User Pierre-Yves David # Date 2017-06-30 01:42:15 # Node ID a9524aea7cab582df61cd80cee41bc90031d550e # Parent 037c5c9376029ecb84f4d11dc66ae93adaf33a53 configitems: register the 'factotum.service' config diff --git a/hgext/factotum.py b/hgext/factotum.py --- a/hgext/factotum.py +++ b/hgext/factotum.py @@ -73,6 +73,9 @@ configitem('factotum', 'executable', configitem('factotum', 'mountpoint', default='/mnt/factotum', ) +configitem('factotum', 'service', + default='hg', +) def auth_getkey(self, params): if not self.ui.interactive(): @@ -142,4 +145,4 @@ def uisetup(ui): global _mountpoint _mountpoint = ui.config('factotum', 'mountpoint') global _service - _service = ui.config('factotum', 'service', 'hg') + _service = ui.config('factotum', 'service')