Mercurial > hg > mercurial
changeset 755:3f1ee5ff67bb
change class to resolve resource
author | eugene.petrenko@jetbrains.com |
---|---|
date | Tue, 25 Feb 2014 11:32:47 +0100 |
parents | aae33e807ab3 |
children | b0d6b9c1123b |
files | mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialLogTemplate.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialLogTemplate.java Tue Feb 25 11:30:28 2014 +0100 +++ b/mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialLogTemplate.java Tue Feb 25 11:32:47 2014 +0100 @@ -61,7 +61,7 @@ private void copyTemplate() throws IOException { File template = createTempFile("teamcity", myTmpFileSuffix); - FileUtil.copyResource(RepoFactory.class, myResourcePath, template); + FileUtil.copyResource(getClass(), myResourcePath, template); myFile = template; } }