From 394dbd57a504bf4c2b6d0feb7b0aadcb62ae2c21 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Wed, 30 Apr 2014 21:11:45 -0500 Subject: [PATCH] Fixing issue 43 --- indefero/src/IDF/Scm/Mercurial.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indefero/src/IDF/Scm/Mercurial.php b/indefero/src/IDF/Scm/Mercurial.php index 484f3a2..79f7f4d 100644 --- a/indefero/src/IDF/Scm/Mercurial.php +++ b/indefero/src/IDF/Scm/Mercurial.php @@ -248,7 +248,7 @@ class IDF_Scm_Mercurial extends IDF_Scm continue; } if ($folder) { - preg_match('|^'.$folder.'[/]?([^/]+)?$|', $file,$match); + preg_match('|^'.$folder.'[/]([^/]+)?$|', $file,$match); if (count($match) > 1) { $file = $match[1]; } else {