##// END OF EJS Templates
configitems: register the 'factotum.mountpoint' config
marmoute -
r33239:037c5c93 default
parent child Browse files
Show More
@@ -70,6 +70,9 b' configitem = registrar.configitem(config'
70 configitem('factotum', 'executable',
70 configitem('factotum', 'executable',
71 default='/bin/auth/factotum',
71 default='/bin/auth/factotum',
72 )
72 )
73 configitem('factotum', 'mountpoint',
74 default='/mnt/factotum',
75 )
73
76
74 def auth_getkey(self, params):
77 def auth_getkey(self, params):
75 if not self.ui.interactive():
78 if not self.ui.interactive():
@@ -137,6 +140,6 b' def uisetup(ui):'
137 global _executable
140 global _executable
138 _executable = ui.config('factotum', 'executable')
141 _executable = ui.config('factotum', 'executable')
139 global _mountpoint
142 global _mountpoint
140 _mountpoint = ui.config('factotum', 'mountpoint', '/mnt/factotum')
143 _mountpoint = ui.config('factotum', 'mountpoint')
141 global _service
144 global _service
142 _service = ui.config('factotum', 'service', 'hg')
145 _service = ui.config('factotum', 'service', 'hg')
General Comments 0
You need to be logged in to leave comments. Login now