##// END OF EJS Templates
configitems: register the 'largefiles.usercache' config
Boris Feld -
r34758:8cf0a6cd default
parent child Browse files
Show More
@@ -136,6 +136,10 b" configitem('largefiles', 'minsize',"
136 136 configitem('largefiles', 'patterns',
137 137 default=list,
138 138 )
139 configitem('largefiles', 'usercache',
140 default=None,
141 )
142
139 143 reposetup = reposetup.reposetup
140 144
141 145 def featuresetup(ui, supported):
@@ -71,7 +71,7 b' def usercachepath(ui, hash):'
71 71
72 72 def _usercachedir(ui):
73 73 '''Return the location of the "global" largefiles cache.'''
74 path = ui.configpath(longname, 'usercache', None)
74 path = ui.configpath(longname, 'usercache')
75 75 if path:
76 76 return path
77 77 if pycompat.iswindows:
General Comments 0
You need to be logged in to leave comments. Login now