Show More
@@ -367,6 +367,11 b' class FilesController(BaseRepoController' | |||
|
367 | 367 | if dbrepo.enable_downloads is False: |
|
368 | 368 | return _('downloads disabled') |
|
369 | 369 | |
|
370 | # patch and reset hooks section of UI config to not run any | |
|
371 | # hooks on fetching archives with subrepos | |
|
372 | for k, v in c.rhodecode_repo._repo.ui.configitems('hooks'): | |
|
373 | c.rhodecode_repo._repo.ui.setconfig('hooks', k, None) | |
|
374 | ||
|
370 | 375 | cs = c.rhodecode_repo.get_changeset(revision) |
|
371 | 376 | content_type = settings.ARCHIVE_SPECS[fileformat][0] |
|
372 | 377 | except ChangesetDoesNotExistError: |
General Comments 0
You need to be logged in to leave comments.
Login now