Query: svn_update
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SVN_UPDATE(3) 1 SVN_UPDATE(3) svn_update - Update working copySYNOPSISint svn_update (string $path, [int $revno = SVN_REVISION_HEAD], [bool $recurse = true])DESCRIPTIONUpdate working copy at $path to revision $revno. If $recurse is true, directories will be recursively updated.PARAMETERSo $path - Path to local working copy. 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(3) or dirname(__FILE__). o $revno - Revision number to update to, default is SVN_REVISION_HEAD. o $recurse - Whether or not to recursively update directories.RETURN VALUESReturns new revision number on success, returns FALSE on failure.NOTESWarning 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.EXAMPLESExample #1 Basic example This example demonstrates basic usage of this function: <?php echo svn_update(realpath('working-copy')); ?> The above example will output something similar to: 234SEE ALSOsvn_checkout(3), svn_commit(3), SVN documentation for svn update. PHP Documentation Group SVN_UPDATE(3)
Related Man Pages |
---|
svn-bisect(1) - debian |
dirname(3) - php |
svn_add(3) - php |
svn_import(3) - php |
svn_update(3) - php |
Similar Topics in the Unix Linux Community |
---|
how preserve the content of the text box |
Calling macro in shell_exec not working |
Insert file.txt recursively |
How can I find "-" ni the string variable? |
Bug in Attachments |