(PECL svn >= 0.1.0)
svn_update — بروزرسانی کپی به کار برده شده
بروز رسانی کپی به کار برده شده path به revno. اگر recurse درست باشد دایرکتوریها بصورت بازگشتی بروزرسانی خواهد شد
مسیر کپی محلی.
Note: Relative paths will be resolved as if the current working directory was the one that contains the PHP binary. To use the calling script's working directory, use realpath() or dirname(__FILE__).
شماره بازبینی برای بروزرسانی بصورت پیشفرض برابر با SVN_REVISION_HEAD است.
آیا دایرکتوریها به صورت بازگشتی بروزرسانی شوند
بارگرداندن شماره بازبینی در صورت موفقیت بازگرداندن FALSE در صورت خطا.
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
Example #1 Basic example
این مثال نمایشدهنده کاربرد اصلی این تابع است:
<?php
echo svn_update(realpath('working-copy'));
?>
The above example will output something similar to:
234