Fixed issue 314, Mercurial shows empty files in directories

master
Ludovic Bellière 2010-01-20 21:27:18 +01:00 committed by Loic d'Anterroches
parent a8a292a3c5
commit 0b580ba2ec
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ class IDF_Scm_Mercurial extends IDF_Scm
$cmd = sprintf(Pluf::f('hg_path', 'hg').' cat -R %s -r %s %s', $cmd = sprintf(Pluf::f('hg_path', 'hg').' cat -R %s -r %s %s',
escapeshellarg($this->repo), escapeshellarg($this->repo),
escapeshellarg($def->commit), escapeshellarg($def->commit),
escapeshellarg($this->repo.'/'.$def->file)); escapeshellarg($this->repo.'/'.$def->fullpath));
$cmd = Pluf::f('idf_exec_cmd_prefix', '').$cmd; $cmd = Pluf::f('idf_exec_cmd_prefix', '').$cmd;
return ($cmd_only) ? $cmd : shell_exec($cmd); return ($cmd_only) ? $cmd : shell_exec($cmd);
} }