mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 14:35:45 +01:00
use proxy settings for hg package download
This commit is contained in:
@@ -37,6 +37,7 @@ package sonia.scm.web;
|
||||
|
||||
import com.google.inject.servlet.ServletModule;
|
||||
|
||||
import sonia.scm.installer.HgPackageReader;
|
||||
import sonia.scm.plugin.ext.Extension;
|
||||
import sonia.scm.repository.HgContext;
|
||||
import sonia.scm.repository.HgHookManager;
|
||||
@@ -67,6 +68,9 @@ public class HgServletModule extends ServletModule
|
||||
{
|
||||
bind(HgContext.class);
|
||||
bind(HgHookManager.class);
|
||||
bind(HgPackageReader.class);
|
||||
|
||||
// bind servlets
|
||||
serve(MAPPING_HOOK).with(HgHookCallbackServlet.class);
|
||||
|
||||
// register hg cgi servlet
|
||||
|
||||
Reference in New Issue
Block a user