mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
use system environment when executing "hg create"
This commit is contained in:
@@ -546,6 +546,9 @@ public class HgRepositoryHandler
|
||||
ExtendedCommand cmd = new ExtendedCommand(config.getHgBinary(), "init",
|
||||
directory.getAbsolutePath());
|
||||
|
||||
// copy system environment, because of the PATH variable
|
||||
cmd.setUseSystemEnvironment(true);
|
||||
|
||||
// issue-97
|
||||
cmd.setWorkDirectory(baseDirectory);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user