Mercurial > hg > mercurial-source
changeset 34026:a9524aea7cab
configitems: register the 'factotum.service' config
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:42:15 +0200 |
parents | 037c5c937602 |
children | fd50788a2d4f |
files | hgext/factotum.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/factotum.py +++ b/hgext/factotum.py @@ -73,6 +73,9 @@ 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 @@ global _mountpoint _mountpoint = ui.config('factotum', 'mountpoint') global _service - _service = ui.config('factotum', 'service', 'hg') + _service = ui.config('factotum', 'service')