# HG changeset patch # User Pierre-Yves David # Date 1498786933 -7200 # Node ID 037c5c9376029ecb84f4d11dc66ae93adaf33a53 # Parent 21b568820a3cb38dc3a6cfa93c2923cca0284959 configitems: register the 'factotum.mountpoint' config diff -r 21b568820a3c -r 037c5c937602 hgext/factotum.py --- a/hgext/factotum.py Fri Jun 30 03:42:12 2017 +0200 +++ b/hgext/factotum.py Fri Jun 30 03:42:13 2017 +0200 @@ -70,6 +70,9 @@ configitem('factotum', 'executable', default='/bin/auth/factotum', ) +configitem('factotum', 'mountpoint', + default='/mnt/factotum', +) def auth_getkey(self, params): if not self.ui.interactive(): @@ -137,6 +140,6 @@ global _executable _executable = ui.config('factotum', 'executable') global _mountpoint - _mountpoint = ui.config('factotum', 'mountpoint', '/mnt/factotum') + _mountpoint = ui.config('factotum', 'mountpoint') global _service _service = ui.config('factotum', 'service', 'hg')