Mercurial > hg > mercurial
diff mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/VcsRootBuilder.java @ 309:33305b2022c2
Take caches and plugin data dirs from PluginConfig
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Wed, 14 Sep 2011 15:00:30 +0400 |
parents | 8c1fd2e565ae |
children | 53b430731041 |
line wrap: on
line diff
--- a/mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/VcsRootBuilder.java Wed Sep 14 13:46:50 2011 +0400 +++ b/mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/VcsRootBuilder.java Wed Sep 14 15:00:30 2011 +0400 @@ -18,7 +18,7 @@ private String myHgPath; public VcsRootImpl build() throws IOException { - VcsRootImpl vcsRoot = new VcsRootImpl(1, Constants.VCS_NAME); + VcsRootImpl vcsRoot = new VcsRootImpl(myRootId, Constants.VCS_NAME); vcsRoot.addProperty(Constants.REPOSITORY_PROP, myRepository); vcsRoot.addProperty(Constants.HG_COMMAND_PATH_PROP, myHgPath != null ? myHgPath : Util.getHgPath()); vcsRoot.addProperty(Constants.USERNAME, myUsername);