use absolute path for mercurial repository creation

This commit is contained in:
Sebastian Sdorra
2012-02-23 18:38:33 +01:00
parent 84200ab501
commit 5505f39f90

View File

@@ -481,7 +481,7 @@ public class HgRepositoryHandler
File directory)
{
ExtendedCommand cmd = new ExtendedCommand(config.getHgBinary(), "init",
directory.getPath());
directory.getAbsolutePath());
// issue-97
cmd.setWorkDirectory(baseDirectory);