register hg browse command

This commit is contained in:
Sebastian Sdorra
2012-06-13 12:22:00 +02:00
parent dc913d3df6
commit 67c6eef808

View File

@@ -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
*