mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 08:55:44 +01:00
serve mercurial repositories with hgweb cgi
This commit is contained in:
@@ -7,10 +7,6 @@
|
||||
|
||||
package sonia.scm.web;
|
||||
|
||||
//~--- JDK imports ------------------------------------------------------------
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
@@ -46,5 +42,6 @@ public class HgWebPlugin implements ScmWebPlugin
|
||||
public void contextInitialized(ScmWebPluginContext context)
|
||||
{
|
||||
context.addScriptResource(new ClasspathWebResource(SCRIPT));
|
||||
context.addInjectModule(new HgServletModule());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user