From 0b580ba2ec51dd37a1c7e59e0c9043e460417cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Belli=C3=A8re?= Date: Wed, 20 Jan 2010 21:27:18 +0100 Subject: [PATCH] Fixed issue 314, Mercurial shows empty files in directories --- src/IDF/Scm/Mercurial.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Scm/Mercurial.php b/src/IDF/Scm/Mercurial.php index d823188..4ea690c 100644 --- a/src/IDF/Scm/Mercurial.php +++ b/src/IDF/Scm/Mercurial.php @@ -250,7 +250,7 @@ class IDF_Scm_Mercurial extends IDF_Scm $cmd = sprintf(Pluf::f('hg_path', 'hg').' cat -R %s -r %s %s', escapeshellarg($this->repo), escapeshellarg($def->commit), - escapeshellarg($this->repo.'/'.$def->file)); + escapeshellarg($this->repo.'/'.$def->fullpath)); $cmd = Pluf::f('idf_exec_cmd_prefix', '').$cmd; return ($cmd_only) ? $cmd : shell_exec($cmd); }