Fixed issues 368 and 354, access to files with special characters.
This commit is contained in:
@@ -187,9 +187,11 @@ class IDF_Scm_Mercurial extends IDF_Scm
|
||||
continue;
|
||||
}
|
||||
}
|
||||
$fullpath = ($folder) ? $folder.'/'.$file : $file;
|
||||
$efullpath = self::smartEncode($fullpath);
|
||||
$res[] = (object) array('perm' => $perm, 'type' => $type,
|
||||
'hash' => $hash, 'fullpath' => ($folder) ? $folder.'/'.$file : $file,
|
||||
'file' => $file);
|
||||
'hash' => $hash, 'fullpath' => $fullpath,
|
||||
'efullpath' => $efullpath, 'file' => $file);
|
||||
}
|
||||
return $res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user