Mercurial > hg > mercurial
view mercurial-agent/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/AgentRepoFactory.java @ 480:efba721f9a1d Faradi-7.1.x
TW-23382 agent logs with info, server logs with debug
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Wed, 26 Sep 2012 18:29:01 +0400 |
parents | |
children | 96af0d63f80a |
line wrap: on
line source
package jetbrains.buildServer.buildTriggers.vcs.mercurial; import jetbrains.buildServer.buildTriggers.vcs.mercurial.command.AuthSettings; import jetbrains.buildServer.buildTriggers.vcs.mercurial.command.CommandSettingsFactory; import org.jetbrains.annotations.NotNull; import java.io.File; public class AgentRepoFactory { private final CommandSettingsFactory myCommandSettingsFactory; public AgentRepoFactory(@NotNull CommandSettingsFactory commandSettingsFactory) { myCommandSettingsFactory = commandSettingsFactory; } public HgRepo create(@NotNull File workingDir, @NotNull String hgPath, @NotNull AuthSettings authSettings) { return new HgRepo(myCommandSettingsFactory, workingDir, hgPath, authSettings); } }