##// END OF EJS Templates
fix archive download for git
marcink -
r1809:ef0066e9 beta
parent child Browse files
Show More
@@ -369,6 +369,7 b' class FilesController(BaseRepoController'
369 if dbrepo.enable_downloads is False:
369 if dbrepo.enable_downloads is False:
370 return _('downloads disabled')
370 return _('downloads disabled')
371
371
372 if c.rhodecode_repo.alias == 'hg':
372 # patch and reset hooks section of UI config to not run any
373 # patch and reset hooks section of UI config to not run any
373 # hooks on fetching archives with subrepos
374 # hooks on fetching archives with subrepos
374 for k, v in c.rhodecode_repo._repo.ui.configitems('hooks'):
375 for k, v in c.rhodecode_repo._repo.ui.configitems('hooks'):
General Comments 0
You need to be logged in to leave comments. Login now