Mercurial > hg > mercurial
changeset 735:73364919b7cc
Fix submodule url resolve on windows
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Wed, 22 Jan 2014 14:00:16 +0100 |
parents | a75aae928f79 |
children | c3dc302af86a 1e4021519ff3 |
files | mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/SubRepo.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/SubRepo.java Tue Jan 21 19:27:38 2014 +0100 +++ b/mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/SubRepo.java Wed Jan 22 14:00:16 2014 +0100 @@ -86,7 +86,7 @@ File parentRepoDir = new File(parentRepoUrl); if (parentRepoDir.isDirectory()) {//handle windows paths try { - return FileUtil.resolvePath(parentRepoDir, url()).getCanonicalPath(); + return FileUtil.resolvePath(parentRepoDir, FileUtil.normalizeSeparator(url())).getCanonicalPath(); } catch (IOException e1) { throw new WrongSubrepoUrlException(parentRepoUrl, url(), e); }