Added the ability to configure the paths to the SCM executables.
This commit is contained in:
committed by
Loic d'Anterroches
parent
64dc8ec3b8
commit
42c6f53fbc
@@ -77,7 +77,7 @@ class IDF_Plugin_SyncMercurial
|
||||
}
|
||||
$return = 0;
|
||||
$output = array();
|
||||
$cmd = sprintf('hg init %s',
|
||||
$cmd = sprintf(Pluf::f('hg_path', 'hg').' init %s',
|
||||
escapeshellarg($mercurial_path.'/'.$shortname));
|
||||
$cmd = Pluf::f('idf_exec_cmd_prefix', '').$cmd;
|
||||
$ll = exec($cmd, $output, $return);
|
||||
|
Reference in New Issue
Block a user