Show More
@@ -328,8 +328,6 b' class DbManage(object):' | |||
|
328 | 328 | and disables dotencode |
|
329 | 329 | """ |
|
330 | 330 | settings_model = SettingsModel(sa=self.sa) |
|
331 | from rhodecode.lib.vcs.backends.hg import largefiles_store | |
|
332 | from rhodecode.lib.vcs.backends.git import lfs_store | |
|
333 | 331 | |
|
334 | 332 | # Build HOOKS |
|
335 | 333 | hooks = [ |
@@ -360,24 +358,6 b' class DbManage(object):' | |||
|
360 | 358 | largefiles.ui_value = '' |
|
361 | 359 | self.sa.add(largefiles) |
|
362 | 360 | |
|
363 | # set default largefiles cache dir, defaults to | |
|
364 | # /repo_store_location/.cache/largefiles | |
|
365 | largefiles = RhodeCodeUi() | |
|
366 | largefiles.ui_section = 'largefiles' | |
|
367 | largefiles.ui_key = 'usercache' | |
|
368 | largefiles.ui_value = largefiles_store(repo_store_path) | |
|
369 | ||
|
370 | self.sa.add(largefiles) | |
|
371 | ||
|
372 | # set default lfs cache dir, defaults to | |
|
373 | # /repo_store_location/.cache/lfs_store | |
|
374 | lfsstore = RhodeCodeUi() | |
|
375 | lfsstore.ui_section = 'vcs_git_lfs' | |
|
376 | lfsstore.ui_key = 'store_location' | |
|
377 | lfsstore.ui_value = lfs_store(repo_store_path) | |
|
378 | ||
|
379 | self.sa.add(lfsstore) | |
|
380 | ||
|
381 | 361 | # enable hgevolve disabled by default |
|
382 | 362 | hgevolve = RhodeCodeUi() |
|
383 | 363 | hgevolve.ui_section = 'extensions' |
General Comments 0
You need to be logged in to leave comments.
Login now