mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
register hg browse command
This commit is contained in:
@@ -55,7 +55,8 @@ public class HgRepositoryServiceProvider extends RepositoryServiceProvider
|
||||
{
|
||||
|
||||
/** Field description */
|
||||
private static final Set<Command> COMMANDS = ImmutableSet.of(Command.CAT);
|
||||
private static final Set<Command> COMMANDS = ImmutableSet.of(Command.BROWSE,
|
||||
Command.CAT);
|
||||
|
||||
//~--- constructors ---------------------------------------------------------
|
||||
|
||||
@@ -80,6 +81,19 @@ public class HgRepositoryServiceProvider extends RepositoryServiceProvider
|
||||
|
||||
//~--- get methods ----------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public HgBrowseCommand getBrowseCommand()
|
||||
{
|
||||
return new HgBrowseCommand(handler, hgContextProvider.get(), repository,
|
||||
repositoryDirectory);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user