<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.remote.other.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'book.svn.php',
    1 => 'SVN',
    2 => 'Subversion',
  ),
  'up' => 
  array (
    0 => 'refs.remote.other.php',
    1 => 'Other Services',
  ),
  'prev' => 
  array (
    0 => 'svmmodel.save.php',
    1 => 'SVMModel::save',
  ),
  'next' => 
  array (
    0 => 'svn.setup.php',
    1 => 'Installing/Configuring',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/svn/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.svn.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.svn" class="book">
 
 <h1 class="title">Subversion</h1>
 

 
 <div id="intro.svn" class="preface">
  <h1 class="title">Introduction</h1>
  <p class="simpara">
   This extension implements PHP bindings for
   <a href="http://subversion.apache.org/" class="link external">&raquo;&nbsp;Subversion</a> (SVN), a version
   control system, allowing PHP scripts to communicate with SVN repositories
   and working copies without direct command line calls to the
   <var class="filename">svn</var>
   executable.
  </p>
  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This extension is
<em>EXPERIMENTAL</em>. The behaviour of this extension including
the names of its functions and any other documentation surrounding this
extension may change without notice in a future release of PHP.
This extension should be used at your own risk.</p></div>
 </div>
 

 




 





 






<ul class="chunklist chunklist_book"><li><a href="svn.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="svn.requirements.php">Requirements</a></li><li><a href="svn.installation.php">Installation</a></li></ul></li><li><a href="svn.constants.php">Predefined Constants</a></li><li><a href="ref.svn.php">SVN Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.svn-add.php">svn_add</a> — Schedules the addition of an item in a working directory</li><li><a href="function.svn-auth-get-parameter.php">svn_auth_get_parameter</a> — Retrieves authentication parameter</li><li><a href="function.svn-auth-set-parameter.php">svn_auth_set_parameter</a> — Sets an authentication parameter</li><li><a href="function.svn-blame.php">svn_blame</a> — Get the SVN blame for a file</li><li><a href="function.svn-cat.php">svn_cat</a> — Returns the contents of a file in a repository</li><li><a href="function.svn-checkout.php">svn_checkout</a> — Checks out a working copy from the repository</li><li><a href="function.svn-cleanup.php">svn_cleanup</a> — Recursively cleanup a working copy directory, finishing incomplete operations and removing locks</li><li><a href="function.svn-client-version.php">svn_client_version</a> — Returns the version of the SVN client libraries</li><li><a href="function.svn-commit.php">svn_commit</a> — Sends changes from the local working copy to the repository</li><li><a href="function.svn-delete.php">svn_delete</a> — Delete items from a working copy or repository</li><li><a href="function.svn-diff.php">svn_diff</a> — Recursively diffs two paths</li><li><a href="function.svn-export.php">svn_export</a> — Export the contents of a SVN directory</li><li><a href="function.svn-fs-abort-txn.php">svn_fs_abort_txn</a> — Aborts a transaction</li><li><a href="function.svn-fs-apply-text.php">svn_fs_apply_text</a> — Creates and returns a stream that will be used to replace</li><li><a href="function.svn-fs-begin-txn2.php">svn_fs_begin_txn2</a> — Create a new transaction</li><li><a href="function.svn-fs-change-node-prop.php">svn_fs_change_node_prop</a> — Return true if everything is ok, false otherwise</li><li><a href="function.svn-fs-check-path.php">svn_fs_check_path</a> — Determines what kind of item lives at path in a given repository fsroot</li><li><a href="function.svn-fs-contents-changed.php">svn_fs_contents_changed</a> — Return true if content is different, false otherwise</li><li><a href="function.svn-fs-copy.php">svn_fs_copy</a> — Copies a file or a directory</li><li><a href="function.svn-fs-delete.php">svn_fs_delete</a> — Deletes a file or a directory</li><li><a href="function.svn-fs-dir-entries.php">svn_fs_dir_entries</a> — Enumerates the directory entries under path; returns a hash of dir names to file type</li><li><a href="function.svn-fs-file-contents.php">svn_fs_file_contents</a> — Returns a stream to access the contents of a file from a given version of the fs</li><li><a href="function.svn-fs-file-length.php">svn_fs_file_length</a> — Returns the length of a file from a given version of the fs</li><li><a href="function.svn-fs-is-dir.php">svn_fs_is_dir</a> — Determines if a path points to a directory</li><li><a href="function.svn-fs-is-file.php">svn_fs_is_file</a> — Determines if a path points to a file</li><li><a href="function.svn-fs-make-dir.php">svn_fs_make_dir</a> — Creates a new empty directory</li><li><a href="function.svn-fs-make-file.php">svn_fs_make_file</a> — Creates a new empty file</li><li><a href="function.svn-fs-node-created-rev.php">svn_fs_node_created_rev</a> — Returns the revision in which path under fsroot was created</li><li><a href="function.svn-fs-node-prop.php">svn_fs_node_prop</a> — Returns the value of a property for a node</li><li><a href="function.svn-fs-props-changed.php">svn_fs_props_changed</a> — Return true if props are different, false otherwise</li><li><a href="function.svn-fs-revision-prop.php">svn_fs_revision_prop</a> — Fetches the value of a named property</li><li><a href="function.svn-fs-revision-root.php">svn_fs_revision_root</a> — Get a handle on a specific version of the repository root</li><li><a href="function.svn-fs-txn-root.php">svn_fs_txn_root</a> — Creates and returns a transaction root</li><li><a href="function.svn-fs-youngest-rev.php">svn_fs_youngest_rev</a> — Returns the number of the youngest revision in the filesystem</li><li><a href="function.svn-import.php">svn_import</a> — Imports an unversioned path into a repository</li><li><a href="function.svn-log.php">svn_log</a> — Returns the commit log messages of a repository URL</li><li><a href="function.svn-ls.php">svn_ls</a> — Returns list of directory contents in repository URL, optionally at revision number</li><li><a href="function.svn-mkdir.php">svn_mkdir</a> — Creates a directory in a working copy or repository</li><li><a href="function.svn-repos-create.php">svn_repos_create</a> — Create a new subversion repository at path</li><li><a href="function.svn-repos-fs.php">svn_repos_fs</a> — Gets a handle on the filesystem for a repository</li><li><a href="function.svn-repos-fs-begin-txn-for-commit.php">svn_repos_fs_begin_txn_for_commit</a> — Create a new transaction</li><li><a href="function.svn-repos-fs-commit-txn.php">svn_repos_fs_commit_txn</a> — Commits a transaction and returns the new revision</li><li><a href="function.svn-repos-hotcopy.php">svn_repos_hotcopy</a> — Make a hot-copy of the repos at repospath; copy it to destpath</li><li><a href="function.svn-repos-open.php">svn_repos_open</a> — Open a shared lock on a repository</li><li><a href="function.svn-repos-recover.php">svn_repos_recover</a> — Run recovery procedures on the repository located at path</li><li><a href="function.svn-revert.php">svn_revert</a> — Revert changes to the working copy</li><li><a href="function.svn-status.php">svn_status</a> — Returns the status of working copy files and directories</li><li><a href="function.svn-update.php">svn_update</a> — Update working copy</li></ul></li></ul></div><?php manual_footer($setup); ?>