##// END OF EJS Templates
configitems: register the 'factotum.service' config
marmoute -
r33240:a9524aea default
parent child Browse files
Show More
@@ -73,6 +73,9 b" configitem('factotum', 'executable',"
73 configitem('factotum', 'mountpoint',
73 configitem('factotum', 'mountpoint',
74 default='/mnt/factotum',
74 default='/mnt/factotum',
75 )
75 )
76 configitem('factotum', 'service',
77 default='hg',
78 )
76
79
77 def auth_getkey(self, params):
80 def auth_getkey(self, params):
78 if not self.ui.interactive():
81 if not self.ui.interactive():
@@ -142,4 +145,4 b' def uisetup(ui):'
142 global _mountpoint
145 global _mountpoint
143 _mountpoint = ui.config('factotum', 'mountpoint')
146 _mountpoint = ui.config('factotum', 'mountpoint')
144 global _service
147 global _service
145 _service = ui.config('factotum', 'service', 'hg')
148 _service = ui.config('factotum', 'service')
General Comments 0
You need to be logged in to leave comments. Login now