fix bug in mercurial configuration wizard on windows

This commit is contained in:
Sebastian Sdorra
2011-04-30 14:43:38 +02:00
parent 52c8cdf3e8
commit 04d11b2b20

View File

@@ -299,11 +299,11 @@ public class WindowsHgInstaller extends AbstractHgInstaller
if (path != null)
{
File file = new File(path);
File file = new File(path, FILE_MERCURIAL_EXE);
if (!file.exists())
if (file.exists())
{
installations.add(path);
installations.add(file.getAbsolutePath());
}
}
}