diff mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialVcsSupport.java @ 46:13d5f0f56e70

compatibility with TeamCity 3.x
author Pavel.Sher
date Tue, 07 Oct 2008 15:22:57 +0400
parents 1490e2981799
children c785bc4c5f39
line wrap: on
line diff
--- a/mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialVcsSupport.java	Sat Sep 06 17:46:28 2008 +0400
+++ b/mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialVcsSupport.java	Tue Oct 07 15:22:57 2008 +0400
@@ -432,14 +432,14 @@
     });
     if (files != null) {
       for (File f: files) {
-        workDirs.add(FileUtil.getCanonicalFile(f));
+        workDirs.add(PathUtil.getCanonicalFile(f));
       }
     }
 
     for (VcsRoot vcsRoot: myVcsManager.getAllRegisteredVcsRoots()) {
       if (getName().equals(vcsRoot.getVcsName())) {
         Settings s = createSettings(vcsRoot);
-        workDirs.remove(FileUtil.getCanonicalFile(s.getWorkingDir()));
+        workDirs.remove(PathUtil.getCanonicalFile(s.getWorkingDir()));
       }
     }