I would just like to note that there is either an error in the documentation or a bug in the code. When you run svn_mkdir it returns FALSE even on success. As an example you can do
<?php
var_dump( svn_mkdir( "/path/to/your/repo/mydir" ) );
?>
And youll see that the output is
bool(false)
svn_mkdir
(PECL svn >= 0.4.0)
svn_mkdir — ساخت دایرکتوری در کپی یا انبار به کار برده شده
Description
bool svn_mkdir
( string $path
)
ساخت دایرکتوری در کپی یا انبار به کار برده شده.
Parameters
- path
-
مسیر کپی یا انبار به کار برده شده.
Return Values
Returns TRUE on success or FALSE on failure.
ckozler at ckozler dot net ¶
1 year ago
