Fixing issue 43

This commit is contained in:
Nathan Adams 2014-04-30 21:11:45 -05:00
parent 0bc03907b6
commit 394dbd57a5

View File

@ -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 {