cvs: phpdoc /en/reference/svn .cvsignore configure.xml constants.xml reference.xml /en/reference/svn/functions svn-add.xml svn-auth-get-parameter.xml
svn-auth-set-parameter.xml svn-cat.xml svn-checkout.xml svn-cleanup.xml svn-client-version.xml svn-commit.xml svn-diff.xml svn-fs-abort-txn.xml
svn-fs-apply-text.xml svn-fs-begin-txn2.xml svn-fs-change-node-prop.xml svn-fs-check-path.xml svn-fs-contents-changed.xml svn-fs-copy.xml
svn-fs-delete.xml svn-fs-dir-entries.xml svn-fs-file-contents.xml svn-fs-file-length.xml svn-fs-is-dir.xml svn-fs-is-file.xml svn-fs-make-dir.xml
svn-fs-make-file.xml svn-fs-node-created-rev.xml svn-fs-node-prop.xml svn-fs-props-changed.xml svn-fs-revision-prop.xml svn-fs-revision-root.xml
svn-fs-txn-root.xml svn-fs-youngest-rev.xml svn-import.xml svn-log.xml svn-ls.xml svn-repos-create.xml svn-repos-fs-begin-txn-for-commit.xml
svn-repos-fs-commit-txn.xml svn-repos-fs.xml svn-repos-hotcopy.xml svn-repos-open.xml svn-repos-recover.xml svn-sta! tus.xml svn-update.xml

From: Date: Thu, 21 Jun 2007 04:20:31 +0000
Subject: cvs: phpdoc /en/reference/svn .cvsignore configure.xml constants.xml reference.xml /en/reference/svn/functions svn-add.xml svn-auth-get-parameter.xml
svn-auth-set-parameter.xml svn-cat.xml svn-checkout.xml svn-cleanup.xml svn-client-version.xml svn-commit.xml svn-diff.xml svn-fs-abort-txn.xml
svn-fs-apply-text.xml svn-fs-begin-txn2.xml svn-fs-change-node-prop.xml svn-fs-check-path.xml svn-fs-contents-changed.xml svn-fs-copy.xml
svn-fs-delete.xml svn-fs-dir-entries.xml svn-fs-file-contents.xml svn-fs-file-length.xml svn-fs-is-dir.xml svn-fs-is-file.xml svn-fs-make-dir.xml
svn-fs-make-file.xml svn-fs-node-created-rev.xml svn-fs-node-prop.xml svn-fs-props-changed.xml svn-fs-revision-prop.xml svn-fs-revision-root.xml
svn-fs-txn-root.xml svn-fs-youngest-rev.xml svn-import.xml svn-log.xml svn-ls.xml svn-repos-create.xml svn-repos-fs-begin-txn-for-commit.xml
svn-repos-fs-commit-txn.xml svn-repos-fs.xml svn-repos-hotcopy.xml svn-repos-open.xml svn-repos-recover.xml svn-sta! tus.xml svn-update.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969376807@lists.php.net to get a copy of this message
ezyang Thu Jun 21 04:20:31 2007 UTC Added files: /phpdoc/en/reference/svn .cvsignore configure.xml constants.xml reference.xml /phpdoc/en/reference/svn/functions svn-add.xml svn-auth-get-parameter.xml svn-auth-set-parameter.xml svn-cat.xml svn-checkout.xml svn-cleanup.xml svn-client-version.xml svn-commit.xml svn-diff.xml svn-fs-abort-txn.xml svn-fs-apply-text.xml svn-fs-begin-txn2.xml svn-fs-change-node-prop.xml svn-fs-check-path.xml svn-fs-contents-changed.xml svn-fs-copy.xml svn-fs-delete.xml svn-fs-dir-entries.xml svn-fs-file-contents.xml svn-fs-file-length.xml svn-fs-is-dir.xml svn-fs-is-file.xml svn-fs-make-dir.xml svn-fs-make-file.xml svn-fs-node-created-rev.xml svn-fs-node-prop.xml svn-fs-props-changed.xml svn-fs-revision-prop.xml svn-fs-revision-root.xml svn-fs-txn-root.xml svn-fs-youngest-rev.xml svn-import.xml svn-log.xml svn-ls.xml svn-repos-create.xml svn-repos-fs-begin-txn-for-commit.xml svn-repos-fs-commit-txn.xml svn-repos-fs.xml svn-repos-hotcopy.xml svn-repos-open.xml svn-repos-recover.xml svn-status.xml svn-update.xml Log: Add PECL Subversion extension documentation.

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/.cvsignore?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/.cvsignore +++ phpdoc/en/reference/svn/.cvsignore functions.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/configure.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/configure.xml +++ phpdoc/en/reference/svn/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="svn.installation"> &reftitle.install; <para> &pecl.info; <ulink url="http://pecl.php.net/package/svn">http://pecl.php.net/package/svn</ulink> </para> <para> If <filename>./configure</filename> is having trouble finding the SVN files (for example, Subversion was installed with a different prefix directory), use <userinput>./configure --with-svn=$USR_PATH</userinput> to specify the directory where the <filename>include/subversion-1/</filename> folder is located. </para> <para> &pecl.windows.download; </para> <warning> <para> If the extension is compiled against libsvn 1.3, functions that work with working copies will fail when used on working copies created by Subversion 1.4. </para> </warning> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/constants.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/constants.xml +++ phpdoc/en/reference/svn/constants.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <section id="svn.constants"> &reftitle.constants; &extension.constants; <variablelist> <varlistentry> <term> <constant>SVN_REVISON_HEAD</constant> (<type>integer</type>) </term> <listitem> <simpara> Magic number (-1) specifying the HEAD revision </simpara> </listitem> </varlistentry> </variablelist> <variablelist id="svn.constants.auth"> <title>Constants usable with <function>svn_auth_set_parameter</function></title> <varlistentry> <term> <constant>SVN_AUTH_PARAM_DEFAULT_USERNAME</constant> (<type>string</type>) </term> <listitem> <simpara> Property for default username to use when performing basic authentication </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>SVN_AUTH_PARAM_DEFAULT_PASSWORD</constant> (<type>string</type>) </term> <listitem> <simpara> Property for default password to use when performing basic authentication </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>SVN_AUTH_PARAM_NON_INTERACTIVE</constant> (<type>string</type>) </term> <listitem><simpara /></listitem> </varlistentry> <varlistentry> <term> <constant>SVN_AUTH_PARAM_DONT_STORE_PASSWORDS</constant> (<type>string</type>) </term> <listitem><simpara /></listitem> </varlistentry> <varlistentry> <term> <constant>SVN_AUTH_PARAM_NO_AUTH_CACHE</constant> (<type>string</type>) </term> <listitem><simpara /></listitem> </varlistentry> <varlistentry> <term> <constant>SVN_AUTH_PARAM_SSL_SERVER_FAILURES</constant> (<type>string</type>) </term> <listitem><simpara /></listitem> </varlistentry> <varlistentry> <term> <constant>SVN_AUTH_PARAM_SSL_SERVER_CERT_INFO</constant> (<type>string</type>) </term> </varlistentry> <varlistentry> <term> <constant>SVN_AUTH_PARAM_CONFIG</constant> (<type>string</type>) </term> <listitem><simpara /></listitem> </varlistentry> <varlistentry> <term> <constant>SVN_AUTH_PARAM_SERVER_GROUP</constant> (<type>string</type>) </term> <listitem><simpara /></listitem> </varlistentry> <varlistentry> <term> <constant>SVN_AUTH_PARAM_CONFIG_DIR</constant> (<type>string</type>) </term> <listitem><simpara /></listitem> </varlistentry> <varlistentry> <term> <constant>PHP_SVN_AUTH_PARAM_IGNORE_SSL_VERIFY_ERRORS</constant> (<type>string</type>) </term> <listitem> <simpara> Custom property for ignoring SSL cert verification errors </simpara> </listitem> </varlistentry> </variablelist> <variablelist> <title>Filesystem constants</title> <varlistentry> <term> <constant>SVN_FS_CONFIG_FS_TYPE</constant> (<type>string</type>) </term> <listitem> <simpara> Configuration key that determines filesystem type </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>SVN_FS_TYPE_BDB</constant> (<type>string</type>) </term> <listitem> <simpara> Filesystem is Berkeley-DB implementation </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>SVN_FS_TYPE_FSFS</constant> (<type>string</type>) </term> <listitem> <simpara> Filesystem is native-filesystem implementation </simpara> </listitem> </varlistentry> </variablelist> <variablelist> <title>Reserved property constants</title> <varlistentry> <term> <constant>SVN_PROP_REVISION_DATE</constant> (<type>string</type>) </term> <listitem> <simpara> svn:date </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>SVN_PROP_REVISION_ORIG_DATE</constant> (<type>string</type>) </term> <listitem> <simpara> svn:original-date </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>SVN_PROP_REVISION_AUTHOR</constant> (<type>string</type>) </term> <listitem> <simpara> svn:author </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>SVN_PROP_REVISION_LOG</constant> (<type>string</type>) </term> <listitem> <simpara> svn:log </simpara> </listitem> </varlistentry> </variablelist> <variablelist id="svn.constants.status"> <title>Working copy status constants</title> <varlistentry> <term> <constant>svn_wc_status_none</constant> (<type>int</type>) </term> <listitem> <simpara> Status does not exist </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_wc_status_unversioned</constant> (<type>int</type>) </term> <listitem> <simpara> Item is not versioned in working copy </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_wc_status_normal</constant> (<type>int</type>) </term> <listitem> <simpara> Item exists, nothing else is happening </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_wc_status_added</constant> (<type>int</type>) </term> <listitem> <simpara> Item is scheduled for addition </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_wc_status_missing</constant> (<type>int</type>) </term> <listitem> <simpara> Item is versioned but missing from the working copy </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_wc_status_deleted</constant> (<type>int</type>) </term> <listitem> <simpara> Item is scheduled for deletion </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_wc_status_replaced</constant> (<type>int</type>) </term> <listitem> <simpara> Item was deleted and then re-added </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_wc_status_modified</constant> (<type>int</type>) </term> <listitem> <simpara> Item (text or properties) was modified </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_wc_status_merged</constant> (<type>int</type>) </term> <listitem> <simpara> Item's local modifications were merged with repository modifications </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_wc_status_conflicted</constant> (<type>int</type>) </term> <listitem> <simpara> Item's local modifications conflicted with repository modifications </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_wc_status_ignored</constant> (<type>int</type>) </term> <listitem> <simpara> Item is unversioned but configured to be ignored </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_wc_status_obstructed</constant> (<type>int</type>) </term> <listitem> <simpara> Unversioned item is in the way of a versioned resource </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_wc_status_external</constant> (<type>int</type>) </term> <listitem> <simpara> Unversioned path that is populated using svn:externals </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_wc_status_incomplete</constant> (<type>int</type>) </term> <listitem> <simpara> Directory does not contain complete entries list </simpara> </listitem> </varlistentry> </variablelist> <variablelist id="svn.constants.type"> <title>Node type constants</title> <varlistentry> <term> <constant>svn_node_none</constant> (<type>int</type>) </term> <listitem> <simpara> Absent </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_node_file</constant> (<type>int</type>) </term> <listitem> <simpara> File </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_node_dir</constant> (<type>int</type>) </term> <listitem> <simpara> Directory </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>svn_node_unknown</constant> (<type>int</type>) </term> <listitem> <simpara> Something Subversion cannot identify </simpara> </listitem> </varlistentry> </variablelist> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/reference.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/reference.xml +++ phpdoc/en/reference/svn/reference.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- Purpose: remote.other --> <!-- Membership: bundled, pecl --> <!-- State: new --> <reference id="ref.svn"> <title>Subversion &Functions;</title> <titleabbrev>SVN</titleabbrev> <partintro> <section id="svn.intro"> &reftitle.intro; &warn.experimental; <para> This extension implements PHP bindings for <ulink url="&url.svn;">Subversion</ulink> (SVN), a version control system, allowing PHP scripts to communicate with SVN repositories and working copies without direct command line calls to the <filename>svn</filename> executable. </para> </section> <section id="svn.requirements"> &reftitle.required; <para> The Subversion binaries are not necessary to use this extension. However, when compiling the extension, libsvn (the Subversion headers) must be available. </para> </section> &reference.svn.configure; <section id="svn.resources"> &reftitle.resources; <para> Subversion's lower-level svn_fs_* functions make use of resources that reference local file-system repositories. They can probably be created using <function>svn_repos_fs</function> and <function>svn_fs_revision_root</function>. (verify?) </para> &no.resource; </section> &reference.svn.constants; </partintro> &reference.svn.functions; </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-add.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-add.xml +++ phpdoc/en/reference/svn/functions/svn-add.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-add"> <refnamediv> <refname>svn_add</refname> <refpurpose>Schedules the addition of an item in a working directory</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_add</methodname> <methodparam><type>string</type><parameter>path</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>recursive</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>force</parameter></methodparam> </methodsynopsis> <para> Adds the file, directory or symbolic link at <parameter>path</parameter> to the working directory. The item will be added to the repository the next time you call <function>svn_commit</function> on the working copy. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Path of item to add. </para> &svn.relativepath; </listitem> </varlistentry> <varlistentry> <term><parameter>recursive</parameter></term> <listitem> <para> If item is directory, whether or not to recursively add all of its contents. Default is &true; </para> </listitem> </varlistentry> <varlistentry> <term><parameter>force</parameter></term> <listitem> <para> If true, Subversion will recurse into already versioned directories in order to add unversioned files that may be hiding in those directories. Default is &false; </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>svn_add</function> example</title> <para> In a working directory where <userinput>svn status</userinput> returns: </para> <screen> <![CDATA[ $ svn status ? foobar.txt ]]> </screen> <para>...this code:</para> <programlisting role="php"> <![CDATA[ <?php svn_add('foobar.txt'); ?> ]]> </programlisting> <para> ...will schedule <filename>foobar.txt</filename> for addition into the repository. </para> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><ulink url="&url.svn.manual.add;">SVN documentation on svn add</ulink></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-auth-get-parameter.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-auth-get-parameter.xml +++ phpdoc/en/reference/svn/functions/svn-auth-get-parameter.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-auth-get-parameter"> <refnamediv> <refname>svn_auth_get_parameter</refname> <refpurpose>Retrieves authentication parameter</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>svn_auth_get_parameter</methodname> <methodparam><type>string</type><parameter>key</parameter></methodparam> </methodsynopsis> <para> Retrieves authentication parameter at <parameter>key</parameter>. For a list of valid keys and their meanings, consult the <link linkend="svn.constants.auth">authentication constants list</link>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>key</parameter></term> <listitem> <para> String key name. Use the <link linkend="svn.constants.auth">authentication constants</link> defined by this extension to specify a key. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the string value of the parameter at <parameter>key</parameter>; returns &null; if parameter does not exist. </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_auth_get_parameter</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>svn_auth_set_parameter</function></member> <member><link linkend="svn.constants.auth">Authentication constants</link></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-auth-set-parameter.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-auth-set-parameter.xml +++ phpdoc/en/reference/svn/functions/svn-auth-set-parameter.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-auth-set-parameter"> <refnamediv> <refname>svn_auth_set_parameter</refname> <refpurpose>Sets an authentication parameter</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>svn_auth_set_parameter</methodname> <methodparam><type>string</type><parameter>key</parameter></methodparam> <methodparam><type>string</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Sets authentication parameter at <parameter>key</parameter> to <parameter>value</parameter>. For a list of valid keys and their meanings, consult the <link linkend="svn.constants.auth">authentication constants list</link>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>key</parameter></term> <listitem> <para> String key name. Use the <link linkend="svn.constants.auth">authentication constants</link> defined by this extension to specify a key. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>value</parameter></term> <listitem> <para> String value to set to parameter at key. Format of value varies with the parameter. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Default authentication example</title> <para> This example configures SVN so that the default username to use is 'Bob' and the default password is 'abc123': </para> <programlisting role="php"> <![CDATA[ <?php svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_USERNAME, 'Bob'); svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_PASSWORD, 'abc123'); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>svn_auth_get_parameter</function></member> <member><link linkend="svn.constants.auth">Authentication constants</link></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-cat.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-cat.xml +++ phpdoc/en/reference/svn/functions/svn-cat.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-cat"> <refnamediv> <refname>svn_cat</refname> <refpurpose>Returns the contents of a file in a repository</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>svn_cat</methodname> <methodparam><type>string</type><parameter>repos_url</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>revision_no</parameter></methodparam> </methodsynopsis> <para> Returns the contents of the URL <parameter>repos_url</parameter> to a file in the repository, optionally at revision number <parameter>revision_no</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>repos_url</parameter></term> <listitem> <para> String URL path to item in a repository. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>revision_no</parameter></term> <listitem> <para> Integer revision number of item to retrieve, default is the HEAD revision. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the string contents of the item from the repository on success, and &false; on failure. </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Basic example</title> <para> This example retrieves the contents of a file at revision 28: </para> <programlisting role="php"> <![CDATA[ <?php $contents = svn_cat('http://www.example.com/svnroot/calc/gui.c', 28) ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>svn_list</function></member> <member><ulink url="&url.svn.manual.cat;">SVN documentation on svn cat</ulink></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-checkout.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-checkout.xml +++ phpdoc/en/reference/svn/functions/svn-checkout.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-checkout"> <refnamediv> <refname>svn_checkout</refname> <refpurpose>Checks out a working copy from the repository</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_checkout</methodname> <methodparam><type>string</type><parameter>repos</parameter></methodparam> <methodparam><type>string</type><parameter>targetpath</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>revision</parameter></methodparam> </methodsynopsis> <para> Checks out a working copy from the repository at <parameter>repos</parameter> to <parameter>targetpath</parameter> at revision <parameter>revision</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>repos</parameter></term> <listitem> <para> String URL path to directory in repository to check out. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>targetpath</parameter></term> <listitem> <para> String local path to directory to check out in to </para> &svn.relativepath; </listitem> </varlistentry> <varlistentry> <term><parameter>revision</parameter></term> <listitem> <para> Integer revision number of repository to check out. Default is HEAD, the most recent revision. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Basic example</title> <para> This example demonstrates how to check out a directory from a repository to a directory named calc: </para> <programlisting role="php"> <![CDATA[ <?php svn_checkout('http://www.example.com/svnroot/calc/trunk', dirname(__FILE__) . '/calc'); ?> ]]> </programlisting> <para> The <literal>dirname(__FILE__)</literal> call is necessary in order to convert the calc relative path into an absolute one. If calc exists, you can also use <function>realpath</function> to retrieve an absolute path. </para> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>svn_add</function></member> <member><function>svn_commit</function></member> <member><function>svn_status</function></member> <member><function>svn_update</function></member> <member><ulink url="&url.svn.manual.checkout;">SVN documentation on svn checkout</ulink></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-cleanup.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-cleanup.xml +++ phpdoc/en/reference/svn/functions/svn-cleanup.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-cleanup"> <refnamediv> <refname>svn_cleanup</refname> <refpurpose>Recursively cleanup a working copy directory, finishing incomplete operations and removing locks</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_cleanup</methodname> <methodparam><type>string</type><parameter>workingdir</parameter></methodparam> </methodsynopsis> <para> Recursively cleanup working copy directory <parameter>workingdir</parameter>, finishing any incomplete operations and removing working copy locks. Use when a working copy is in limbo and needs to be usable again. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>workingdir</parameter></term> <listitem> <para> String path to local working directory to cleanup </para> &svn.relativepath; </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Basic example</title> <para> This example demonstrates clean up of a working copy in a directory named help-me: </para> <programlisting role="php"> <![CDATA[ <?php svn_cleanup(realpath('help-me')); ?> ]]> </programlisting> <para> The <function>realpath</function> call is necessary due to SVN's quirky handling of relative paths. </para> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>update</function></member> <member><ulink url="&url.svn.manual.cleanup;">SVN documentation on svn cleanup</ulink></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-client-version.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-client-version.xml +++ phpdoc/en/reference/svn/functions/svn-client-version.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-client-version"> <refnamediv> <refname>svn_client_version</refname> <refpurpose>Returns the version of the SVN client libraries</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>svn_client_version</methodname> <void/> </methodsynopsis> <para> Returns the version of the SVN client libraries </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> String version number, usually in form of x.y.z. </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <title>Basic example</title> <example> <programlisting role="php"> <![CDATA[ <?php echo svn_client_version(); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ 1.3.1 ]]> </screen> </example> </para> </refsect1> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-commit.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-commit.xml +++ phpdoc/en/reference/svn/functions/svn-commit.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-commit"> <refnamediv> <refname>svn_commit</refname> <refpurpose>Sends changes from the local working copy to the repository</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>svn_commit</methodname> <methodparam><type>string</type><parameter>log</parameter></methodparam> <methodparam><type>array</type><parameter>targets</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>dontrecurse</parameter></methodparam> </methodsynopsis> <para> Commits changes made in the local working copy files enumerated in the <parameter>targets</parameter> array to the repository, with the log message <parameter>log</parameter>. Directories in the <parameter>targets</parameter> array will be recursively committed unless <parameter>dontrecurse</parameter> is set to true. </para> <note> <simpara> This function does not have any parameters for specifying authentication, so a username and password must be set using <function>svn_auth_set_parameter</function> </simpara> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>log</parameter></term> <listitem> <para> String log text to commit </para> </listitem> </varlistentry> <varlistentry> <term><parameter>targets</parameter></term> <listitem> <para> Array of local paths of files to be committed </para> <warning> <simpara> This parameter must be an array, a string for a single target is not acceptable. </simpara> </warning> &svn.relativepath; </listitem> </varlistentry> <varlistentry> <term><parameter>dontrecurse</parameter></term> <listitem> <para> Boolean flag to disable recursive committing of directories in the <parameter>targets</parameter> array. Default is &false;. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns array in form of: </para> <screen> <![CDATA[ array( 0 => integer revision number of commit 1 => string ISO 8601 date and time of commit 2 => name of committer ) ]]> </screen> <para> Returns &false; on failure. </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Basic example</title> <para> This example commits the calculator directory to a repository, using the username Bob and the password abc123 (hopefully, his password is stronger): </para> <programlisting role="php"> <![CDATA[ <?php svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_USERNAME, 'Bob'); svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_PASSWORD, 'abc123'); var_dump(svn_commit('Log message of Bob\'s commit', array(realpath('calculator')))); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ array( 0 => 1415, 1 => '2007-05-26T01:44:28.453125Z', 2 => 'Bob' ) ]]> </screen> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>svn_auth_set_parameter</function></member> <member><ulink url="&url.svn.manual.commit;">SVN documentation on svn commit</ulink></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-diff.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-diff.xml +++ phpdoc/en/reference/svn/functions/svn-diff.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-diff"> <refnamediv> <refname>svn_diff</refname> <refpurpose>Recursively diffs two paths</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>svn_diff</methodname> <methodparam><type>string</type><parameter>path1</parameter></methodparam> <methodparam><type>int</type><parameter>rev1</parameter></methodparam> <methodparam><type>string</type><parameter>path2</parameter></methodparam> <methodparam><type>int</type><parameter>rev2</parameter></methodparam> </methodsynopsis> <para> Recursively diffs two paths, <parameter>path1</parameter> and <parameter>path2</parameter>. </para> <note> <para> This is not a general-purpose diff utility. Only local files that are versioned may be diffed: other files will fail. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>path1</parameter></term> <listitem> <para> First path to diff. This can be a URL to a file/directory in an SVN repository or a local file/directory path. </para> &svn.relativepath; <warning> <simpara> If a local file path has only backslashes and no forward slashes, this extension will fail to find the path. Always replace all backslashes with forward slashes when using this function. </simpara> </warning> </listitem> </varlistentry> <varlistentry> <term><parameter>rev1</parameter></term> <listitem> <para> First path's revision number. Use <constant>SVN_REVISON_HEAD</constant> to specify the most recent revision. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path2</parameter></term> <listitem> <para> Second path to diff. See <parameter>path1</parameter> for description. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>rev2</parameter></term> <listitem> <para> Second path's revision number. See <parameter>rev2</parameter> for description. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns an array-list consisting of two streams: the first is the diff output and the second contains error stream output. The streams can be read using <function>fread</function>. Returns &false; or &null; on error. </para> <para> The diff output will, by default, be in the form of Subversion's custom unified diff format, but an <ulink url="&url.svn.manual.externaldifftools;">external diff engine</ulink> may be used depending on Subversion's configuration. </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Basic example</title> <para> This example demonstrates the basic usage of this function, and the retrieval of contents from the stream: </para> <programlisting role="php"> <![CDATA[ <?php list($diff, $errors) = svn_diff( 'http://www.example.com/svnroot/trunk/foo', SVN_REVISION_HEAD, 'http://www.example.com/svnroot/branches/dev/foo', SVN_REVISION_HEAD ); if (!$diff) exit; $contents = ''; while (!feof($diff)) { $contents .= fread($diff, 8192); } fclose($diff); fclose($errors); var_dump($contents); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Index: http://www.example.com/svnroot/trunk/foo =================================================================== --- http://www.example.com/svnroot/trunk/foo (.../foo) (revision 23) +++ http://www.example.com/svnroot/branches/dev/foo (.../foo)) (revision 27) // further diff output ]]> </screen> </example> </para> <para> <example> <title>Diffing two revisions of a repository path</title> <para> This example implements a wrapper function that allows a user to easily diff two revisions of the same item using an external repository path (the default syntax is somewhat verbose): </para> <programlisting role="php"> <![CDATA[ <?php function svn_diff_same_item($path, $rev1, $rev2) { return svn_diff($path, $rev1, $path, $rev2); } ?> ]]> </programlisting> </example> </para> <para> <example> <title>Portably diffing two local files</title> <para> This example implements a wrapper function that portably diffs two local files, compensating for the <function>realpath</function> fix and the backslashes bug: </para> <programlisting role="php"> <![CDATA[ <?php function svn_diff_local($path1, $rev1, $path2, $rev2) { $path1 = str_replace('\\', '/', realpath($path1)); $path2 = str_replace('\\', '/', realpath($path2)); return svn_diff($path1, $rev1, $path2, $rev2); } ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><ulink url="&url.svn.manual.diff;">SVN documentation on svn diff</ulink></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-abort-txn.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-abort-txn.xml +++ phpdoc/en/reference/svn/functions/svn-fs-abort-txn.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-abort-txn"> <refnamediv> <refname>svn_fs_abort_txn</refname> <refpurpose>Abort a transaction, returns true if everything is ok, false othewise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_fs_abort_txn</methodname> <methodparam><type>resource</type><parameter>txn</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Abort a transaction, returns true if everything is ok, false othewise </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>txn</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_abort_txn</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-apply-text.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-apply-text.xml +++ phpdoc/en/reference/svn/functions/svn-fs-apply-text.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-apply-text"> <refnamediv> <refname>svn_fs_apply_text</refname> <refpurpose>Creates and returns a stream that will be used to replace</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>svn_fs_apply_text</methodname> <methodparam><type>resource</type><parameter>root</parameter></methodparam> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Creates and returns a stream that will be used to replace </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>root</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_apply_text</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-begin-txn2.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-begin-txn2.xml +++ phpdoc/en/reference/svn/functions/svn-fs-begin-txn2.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-begin-txn2"> <refnamediv> <refname>svn_fs_begin_txn2</refname> <refpurpose>Create a new transaction</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>svn_fs_begin_txn2</methodname> <methodparam><type>resource</type><parameter>repos</parameter></methodparam> <methodparam><type>int</type><parameter>rev</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Create a new transaction </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>repos</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>rev</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_begin_txn2</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-change-node-prop.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-change-node-prop.xml +++ phpdoc/en/reference/svn/functions/svn-fs-change-node-prop.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-change-node-prop"> <refnamediv> <refname>svn_fs_change_node_prop</refname> <refpurpose>Return true if everything is ok, false otherwise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_fs_change_node_prop</methodname> <methodparam><type>resource</type><parameter>root</parameter></methodparam> <methodparam><type>string</type><parameter>path</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam><type>string</type><parameter>value</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Return true if everything is ok, false otherwise </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>root</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>value</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_change_node_prop</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-check-path.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-check-path.xml +++ phpdoc/en/reference/svn/functions/svn-fs-check-path.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-check-path"> <refnamediv> <refname>svn_fs_check_path</refname> <refpurpose>Determines what kind of item lives at path in a given repository fsroot</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>svn_fs_check_path</methodname> <methodparam><type>resource</type><parameter>fsroot</parameter></methodparam> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Determines what kind of item lives at path in a given repository fsroot </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>fsroot</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_check_path</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-contents-changed.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-contents-changed.xml +++ phpdoc/en/reference/svn/functions/svn-fs-contents-changed.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-contents-changed"> <refnamediv> <refname>svn_fs_contents_changed</refname> <refpurpose>Return true if content is different, false otherwise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_fs_contents_changed</methodname> <methodparam><type>resource</type><parameter>root1</parameter></methodparam> <methodparam><type>string</type><parameter>path1</parameter></methodparam> <methodparam><type>resource</type><parameter>root2</parameter></methodparam> <methodparam><type>string</type><parameter>path2</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Return true if content is different, false otherwise </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>root1</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path1</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>root2</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path2</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_contents_changed</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-copy.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-copy.xml +++ phpdoc/en/reference/svn/functions/svn-fs-copy.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-copy"> <refnamediv> <refname>svn_fs_copy</refname> <refpurpose>Copies a file or a directory, returns true if all is ok, false otherwise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_fs_copy</methodname> <methodparam><type>resource</type><parameter>from_root</parameter></methodparam> <methodparam><type>string</type><parameter>from_path</parameter></methodparam> <methodparam><type>resource</type><parameter>to_root</parameter></methodparam> <methodparam><type>string</type><parameter>to_path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Copies a file or a directory, returns true if all is ok, false otherwise </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>from_root</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>from_path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>to_root</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>to_path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_copy</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-delete.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-delete.xml +++ phpdoc/en/reference/svn/functions/svn-fs-delete.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-delete"> <refnamediv> <refname>svn_fs_delete</refname> <refpurpose>Deletes a file or a directory, return true if all is ok, false otherwise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_fs_delete</methodname> <methodparam><type>resource</type><parameter>root</parameter></methodparam> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Deletes a file or a directory, return true if all is ok, false otherwise </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>root</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_delete</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-dir-entries.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-dir-entries.xml +++ phpdoc/en/reference/svn/functions/svn-fs-dir-entries.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-dir-entries"> <refnamediv> <refname>svn_fs_dir_entries</refname> <refpurpose>Enumerates the directory entries under path; returns a hash of dir names to file type</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>svn_fs_dir_entries</methodname> <methodparam><type>resource</type><parameter>fsroot</parameter></methodparam> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Enumerates the directory entries under path; returns a hash of dir names to file type </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>fsroot</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_dir_entries</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-file-contents.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-file-contents.xml +++ phpdoc/en/reference/svn/functions/svn-fs-file-contents.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-file-contents"> <refnamediv> <refname>svn_fs_file_contents</refname> <refpurpose>Returns a stream to access the contents of a file from a given version of the fs</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>svn_fs_file_contents</methodname> <methodparam><type>resource</type><parameter>fsroot</parameter></methodparam> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Returns a stream to access the contents of a file from a given version of the fs </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>fsroot</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_file_contents</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-file-length.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-file-length.xml +++ phpdoc/en/reference/svn/functions/svn-fs-file-length.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-file-length"> <refnamediv> <refname>svn_fs_file_length</refname> <refpurpose>Returns the length of a file from a given version of the fs</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>svn_fs_file_length</methodname> <methodparam><type>resource</type><parameter>fsroot</parameter></methodparam> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Returns the length of a file from a given version of the fs </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>fsroot</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_file_length</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-is-dir.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-is-dir.xml +++ phpdoc/en/reference/svn/functions/svn-fs-is-dir.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-is-dir"> <refnamediv> <refname>svn_fs_is_dir</refname> <refpurpose>Return true if the path points to a directory, false otherwise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_fs_is_dir</methodname> <methodparam><type>resource</type><parameter>root</parameter></methodparam> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Return true if the path points to a directory, false otherwise </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>root</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_is_dir</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-is-file.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-is-file.xml +++ phpdoc/en/reference/svn/functions/svn-fs-is-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-is-file"> <refnamediv> <refname>svn_fs_is_file</refname> <refpurpose>Return true if the path points to a file, false otherwise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_fs_is_file</methodname> <methodparam><type>resource</type><parameter>root</parameter></methodparam> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Return true if the path points to a file, false otherwise </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>root</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_is_file</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-make-dir.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-make-dir.xml +++ phpdoc/en/reference/svn/functions/svn-fs-make-dir.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-make-dir"> <refnamediv> <refname>svn_fs_make_dir</refname> <refpurpose>Creates a new empty directory, returns true if all is ok, false otherwise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_fs_make_dir</methodname> <methodparam><type>resource</type><parameter>root</parameter></methodparam> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Creates a new empty directory, returns true if all is ok, false otherwise </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>root</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_make_dir</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-make-file.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-make-file.xml +++ phpdoc/en/reference/svn/functions/svn-fs-make-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-make-file"> <refnamediv> <refname>svn_fs_make_file</refname> <refpurpose>Creates a new empty file, returns true if all is ok, false otherwise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_fs_make_file</methodname> <methodparam><type>resource</type><parameter>root</parameter></methodparam> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Creates a new empty file, returns true if all is ok, false otherwise </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>root</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_make_file</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-node-created-rev.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-node-created-rev.xml +++ phpdoc/en/reference/svn/functions/svn-fs-node-created-rev.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-node-created-rev"> <refnamediv> <refname>svn_fs_node_created_rev</refname> <refpurpose>Returns the revision in which path under fsroot was created</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>svn_fs_node_created_rev</methodname> <methodparam><type>resource</type><parameter>fsroot</parameter></methodparam> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Returns the revision in which path under fsroot was created </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>fsroot</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_node_created_rev</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-node-prop.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-node-prop.xml +++ phpdoc/en/reference/svn/functions/svn-fs-node-prop.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-node-prop"> <refnamediv> <refname>svn_fs_node_prop</refname> <refpurpose>Returns the value of a property for a node</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>svn_fs_node_prop</methodname> <methodparam><type>resource</type><parameter>fsroot</parameter></methodparam> <methodparam><type>string</type><parameter>path</parameter></methodparam> <methodparam><type>string</type><parameter>propname</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Returns the value of a property for a node </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>fsroot</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>propname</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_node_prop</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-props-changed.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-props-changed.xml +++ phpdoc/en/reference/svn/functions/svn-fs-props-changed.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-props-changed"> <refnamediv> <refname>svn_fs_props_changed</refname> <refpurpose>Return true if props are different, false otherwise</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_fs_props_changed</methodname> <methodparam><type>resource</type><parameter>root1</parameter></methodparam> <methodparam><type>string</type><parameter>path1</parameter></methodparam> <methodparam><type>resource</type><parameter>root2</parameter></methodparam> <methodparam><type>string</type><parameter>path2</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Return true if props are different, false otherwise </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>root1</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path1</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>root2</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>path2</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_props_changed</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-revision-prop.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-revision-prop.xml +++ phpdoc/en/reference/svn/functions/svn-fs-revision-prop.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-revision-prop"> <refnamediv> <refname>svn_fs_revision_prop</refname> <refpurpose>Fetches the value of a named property</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>svn_fs_revision_prop</methodname> <methodparam><type>resource</type><parameter>fs</parameter></methodparam> <methodparam><type>int</type><parameter>revnum</parameter></methodparam> <methodparam><type>string</type><parameter>propname</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Fetches the value of a named property </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>fs</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>revnum</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>propname</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_revision_prop</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-revision-root.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-revision-root.xml +++ phpdoc/en/reference/svn/functions/svn-fs-revision-root.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-revision-root"> <refnamediv> <refname>svn_fs_revision_root</refname> <refpurpose>Get a handle on a specific version of the repository root</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>svn_fs_revision_root</methodname> <methodparam><type>resource</type><parameter>fs</parameter></methodparam> <methodparam><type>int</type><parameter>revnum</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Get a handle on a specific version of the repository root </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>fs</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>revnum</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_revision_root</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-txn-root.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-txn-root.xml +++ phpdoc/en/reference/svn/functions/svn-fs-txn-root.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-txn-root"> <refnamediv> <refname>svn_fs_txn_root</refname> <refpurpose>Creates and returns a transaction root</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>svn_fs_txn_root</methodname> <methodparam><type>resource</type><parameter>txn</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Creates and returns a transaction root </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>txn</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_txn_root</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-fs-youngest-rev.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-fs-youngest-rev.xml +++ phpdoc/en/reference/svn/functions/svn-fs-youngest-rev.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-fs-youngest-rev"> <refnamediv> <refname>svn_fs_youngest_rev</refname> <refpurpose>Returns the number of the youngest revision in the filesystem</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>svn_fs_youngest_rev</methodname> <methodparam><type>resource</type><parameter>fs</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Returns the number of the youngest revision in the filesystem </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>fs</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_fs_youngest_rev</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-import.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-import.xml +++ phpdoc/en/reference/svn/functions/svn-import.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-import"> <refnamediv> <refname>svn_import</refname> <refpurpose>Imports an unversioned path into a repository</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_import</methodname> <methodparam><type>string</type><parameter>path</parameter></methodparam> <methodparam><type>string</type><parameter>url</parameter></methodparam> <methodparam><type>bool</type><parameter>nonrecursive</parameter></methodparam> </methodsynopsis> <para> Commits unversioned <parameter>path</parameter> into repository at <parameter>url</parameter>. If <parameter>path</parameter> is a directory and <parameter>nonrecursive</parameter> is &false;, the directory will be imported recursively. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Path of file or directory to import. </para> &svn.relativepath; </listitem> </varlistentry> <varlistentry> <term><parameter>url</parameter></term> <listitem> <para> Repository URL to import into. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>nonrecursive</parameter></term> <listitem> <para> Whether or not to refrain from recursively processing directories. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Basic example</title> <para> This example demonstrates a basic use-case of this function. To import a directory named new-files into the repository at http://www.example.com/svnroot/incoming/abc, use: </para> <programlisting role="php"> <![CDATA[ <?php svn_import(realpath('new-files'), 'http://www.example.com/svnroot/incoming/abc', false); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>svn_add</function></member> <member><ulink url="&url.svn.manual.import;">SVN documentation for svn import</ulink></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-log.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-log.xml +++ phpdoc/en/reference/svn/functions/svn-log.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-log"> <refnamediv> <refname>svn_log</refname> <refpurpose>Returns the commit log messages of a repository URL</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>svn_log</methodname> <methodparam><type>string</type><parameter>repos_url</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>revision_no</parameter></methodparam> </methodsynopsis> <para> <function>svn_log</function> returns the complete history of the item at the repository URL <parameter>repos_url</parameter>, or the history of a specific revision if <parameter>revision_no</parameter> is set. This function is equivalent to <userinput>svn log --verbose -r $revision_no $repos_url</userinput>. </para> <warning> <para> For repositories with large histories, the output may be quite large (one array item for every revision of the item). This function does not support the <userinput>--limit NUM</userinput> flag, nor does it support revision ranges (<userinput>revision_no</userinput> must be an integer). </para> </warning> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>repos_url</parameter></term> <listitem> <para> Repository URL of the item to retrieve log history from. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>revision_no</parameter></term> <listitem> <para> Revision number of the log to retrieve. Use <constant>SVN_REVISON_HEAD</constant> to retrieve the log for the most recent revision. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> On success, this function returns an array file listing in the format of: <screen> <![CDATA[ [0] => Array, ordered most recent (highest) revision first ( [rev] => integer revision number [author] => string author name [msg] => string log message [date] => string date formatted per ISO 8601, i.e. date('c') [paths] => Array, describing changed files ( [0] => Array ( [action] => string letter signifying change [path] => absolute repository path of changed file ) [1] => ... ) ) [1] => ... ]]> </screen> </para> <note> <para> The output will always be a numerically indexed array of arrays, even when there are none or only one log message(s). </para> </note> <para> The value of <varname>action</varname> is a subset of the <ulink url="&url.svn.manual.status;">status output in the first column</ulink>, where possible values are: </para> <table> <title>Actions</title> <tgroup cols="2"> <thead> <row> <entry>Letter</entry> <entry>Description</entry> </row> </thead> <tbody> <row> <entry>M</entry> <entry>Item/props was modified</entry> </row> <row> <entry>A</entry> <entry>Item was added</entry> </row> <row> <entry>D</entry> <entry>Item was deleted</entry> </row> <row> <entry>R</entry> <entry>Item was replaced</entry> </row> </tbody> </tgroup> </table> <para> If no changes were made to the item, an empty array is returned. </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>svn_log</function> example</title> <programlisting role="php"> <![CDATA[ <?php print_r( svn_log('http://www.example.com/', 23) ); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ Array ( [0] => Array ( [rev] => 23 [author] => 'joe' [msg] => 'Add cheese and salami to our sandwich.' [date] => '2007-04-06T16:00:27-04:00' [paths] => Array ( [0] => Array ( [action] => 'M' [path] => '/sandwich.txt' ) ) ) ) ]]> </screen> </example> </para> <para> <example> <title>Simulating <userinput>--limit</userinput> with <userinput>svn</userinput> and <function>svn_log</function></title> <para> This sample function simulates the <userinput>--limit</userinput> switch by using the SVN executable to return a list of revisions, which are then losslessly accessed using <function>svn_log</function>. </para> <note> <para> This function will perform a total of <parameter>limit</parameter> + 1 requests: the first request to pull the required revisions, and each one after to retrieve the log item for that request. </para> </note> <programlisting role="php"> <![CDATA[ <?php /** * Retrieves the last $limit log entries. * @param $repos_url Repository URL of item to get logs for * @param $limit Integer limit of items */ function svn_log_limit($repos_url, $limit) { $limit = (int) $limit; if ($limit <= 0) return array(); // -q flag used to prevent server from sending log messages $output = shell_exec("svn log -q --limit $limit $repos_url"); preg_match_all('/^r(\d+) /m', $output, $matches); $ret = array(); foreach ($matches[1] as $rev) { $log = svn_log($repos_url, (int) $rev); $ret[] = $log[0]; // log is only one item long } return $ret; } ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member> <ulink url="&url.svn.manual.log;"> SVN documentation on svn log </ulink> </member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-ls.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-ls.xml +++ phpdoc/en/reference/svn/functions/svn-ls.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-ls"> <refnamediv> <refname>svn_ls</refname> <refpurpose>Returns list of directory contents in repository URL, optionally at revision number</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>svn_ls</methodname> <methodparam><type>string</type><parameter>repos_url</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>revision_no</parameter></methodparam> </methodsynopsis> <para> This function queries the repository URL and returns a list of files and directories, optionally from a specific revision. This is equivalent to <userinput>svn list $repos_url[@$revision_no]</userinput> </para> <note> <para> This function does not work with working copies. <parameter>repos_url</parameter> <emphasis>must</emphasis> be a repository URL. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>url</parameter></term> <listitem> <para> URL of the repository, eg. <userinput>http://www.example.com/svnroot</userinput>. To access a local Subversion repository via filesystem, use the file URI scheme, eg. <userinput>file:///home/user/svn-repos</userinput> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>revision</parameter></term> <listitem> <para> Integer revision number to retrieve listing of. When omitted, the HEAD revision is used. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> On success, this function returns an array file listing in the format of: <screen> <![CDATA[ [0] => Array ( [created_rev] => integer revision number of last edit [last_author] => string author name of last edit [size] => integer byte file size of file [time] => string date of last edit in form 'M d H:i' or 'M d Y', depending on how old the file is [time_t] => integer unix timestamp of last edit [name] => name of file/directory [type] => type, can be 'file' or 'dir' ) [1] => ... ]]> </screen> </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>svn_ls</function> example</title> <programlisting role="php"> <![CDATA[ <?php print_r( svn_ls('http://www.example.com/svnroot/') ); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ Array ( [0] => Array ( [created_rev] => 20 [last_author] => Joe [size] => 0 [time] => Apr 02 09:28 [time_t] => 1175520529 [name] => tags [type] => dir ) [1] => Array ( [created_rev] => 23 [last_author] => Bob [size] => 0 [time] => Apr 02 15:15 [time_t] => 1175541322 [name] => trunk [type] => dir ) ) ]]> </screen> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member> <ulink url="&url.svn.manual.list;">SVN documentation on svn list</ulink> </member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-repos-create.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-repos-create.xml +++ phpdoc/en/reference/svn/functions/svn-repos-create.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-repos-create"> <refnamediv> <refname>svn_repos_create</refname> <refpurpose>Create a new subversion repository at path</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>svn_repos_create</methodname> <methodparam><type>string</type><parameter>path</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>config</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>fsconfig</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Create a new subversion repository at path </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>config</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>fsconfig</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_repos_create</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-repos-fs-begin-txn-for-commit.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-repos-fs-begin-txn-for-commit.xml +++ phpdoc/en/reference/svn/functions/svn-repos-fs-begin-txn-for-commit.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-repos-fs-begin-txn-for-commit"> <refnamediv> <refname>svn_repos_fs_begin_txn_for_commit</refname> <refpurpose>Create a new transaction</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>svn_repos_fs_begin_txn_for_commit</methodname> <methodparam><type>resource</type><parameter>repos</parameter></methodparam> <methodparam><type>int</type><parameter>rev</parameter></methodparam> <methodparam><type>string</type><parameter>author</parameter></methodparam> <methodparam><type>string</type><parameter>log_msg</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Create a new transaction </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>repos</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>rev</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>author</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>log_msg</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_repos_fs_begin_txn_for_commit</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-repos-fs-commit-txn.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-repos-fs-commit-txn.xml +++ phpdoc/en/reference/svn/functions/svn-repos-fs-commit-txn.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-repos-fs-commit-txn"> <refnamediv> <refname>svn_repos_fs_commit_txn</refname> <refpurpose>Commits a transaction and returns the new revision</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>svn_repos_fs_commit_txn</methodname> <methodparam><type>resource</type><parameter>txn</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Commits a transaction and returns the new revision </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>txn</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_repos_fs_commit_txn</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-repos-fs.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-repos-fs.xml +++ phpdoc/en/reference/svn/functions/svn-repos-fs.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-repos-fs"> <refnamediv> <refname>svn_repos_fs</refname> <refpurpose>Gets a handle on the filesystem for a repository</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>svn_repos_fs</methodname> <methodparam><type>resource</type><parameter>repos</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Gets a handle on the filesystem for a repository </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>repos</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_repos_fs</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-repos-hotcopy.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-repos-hotcopy.xml +++ phpdoc/en/reference/svn/functions/svn-repos-hotcopy.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-repos-hotcopy"> <refnamediv> <refname>svn_repos_hotcopy</refname> <refpurpose>Make a hot-copy of the repos at repospath; copy it to destpath</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_repos_hotcopy</methodname> <methodparam><type>string</type><parameter>repospath</parameter></methodparam> <methodparam><type>string</type><parameter>destpath</parameter></methodparam> <methodparam><type>bool</type><parameter>cleanlogs</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Make a hot-copy of the repos at repospath; copy it to destpath </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>repospath</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>destpath</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>cleanlogs</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_repos_hotcopy</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-repos-open.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-repos-open.xml +++ phpdoc/en/reference/svn/functions/svn-repos-open.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-repos-open"> <refnamediv> <refname>svn_repos_open</refname> <refpurpose>Open a shared lock on a repository.</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>svn_repos_open</methodname> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Open a shared lock on a repository. </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_repos_open</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-repos-recover.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-repos-recover.xml +++ phpdoc/en/reference/svn/functions/svn-repos-recover.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-repos-recover"> <refnamediv> <refname>svn_repos_recover</refname> <refpurpose>Run recovery procedures on the repository located at path.</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>svn_repos_recover</methodname> <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; <para> Run recovery procedures on the repository located at path. </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &amp;return.success; entity </para> </refsect1> --> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>svn_repos_recover</function> example</title> <para> Any text that describes the purpose of the example, or what goes on in the example should go here (inside the <example> tag, not out </para> <programlisting role="php"> <![CDATA[ <?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Use the PEAR Coding Standards ]]> </screen> </example> </para> </refsect1> --> <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function></function></member> <member>Or <link linkend="somethingelse">something else</link></member> </simplelist> </para> </refsect1> --> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-status.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-status.xml +++ phpdoc/en/reference/svn/functions/svn-status.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-status"> <refnamediv> <refname>svn_status</refname> <refpurpose>Returns the status of working copy files and directories</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>svn_status</methodname> <methodparam><type>string</type><parameter>path</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>recursive</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>get_all</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>update</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>no_ignore</parameter></methodparam> </methodsynopsis> <para> Returns the status of working copy files and directories, giving modifications, additions, deletions and other changes to items in the working copy. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Local path to file or directory to retrieve status of. </para> &svn.relativepath; </listitem> </varlistentry> <varlistentry> <term><parameter>recursive</parameter></term> <listitem> <para> Whether or not to recursively descend into directories to retrieve status. Default is &true;. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>get_all</parameter></term> <listitem> <para> Whether or not to return all items, regardless of modification status. Default is &false;. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>update</parameter></term> <listitem> <para> Whether or not to return information from the server on whether or not the working copy is up-to-date (specifically, entries will be added for items that are out-of-date along with the regular modification checks). Default is &false;. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>no_ignore</parameter></term> <listitem> <para> Whether or not to disregard svn:ignore properties when scanning for new files. Default is &false;. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns a numerically indexed array of associative arrays detailing the status of items in the repository: </para> <screen> <![CDATA[ Array ( [0] => Array ( // information on item ) [1] => ... ) ]]> </screen> <para> The information on the item is an associative array that can contain the following keys: </para> <variablelist> <varlistentry> <term><varname>path</varname></term> <listitem> <simpara> String path to file/directory of this entry on local filesystem. </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>text_status</varname></term> <listitem> <simpara> Status of item's text. &svn.referto.status; </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>repos_text_status</varname></term> <listitem> <simpara> Status of item's text in repository. Only accurate if <parameter>update</parameter> was set to &true;. &svn.referto.status; </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>prop_status</varname></term> <listitem> <simpara> Status of item's properties. &svn.referto.status; </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>repos_prop_status</varname></term> <listitem> <simpara> Status of item's property in repository. Only accurate if <parameter>update</parameter> was set to &true;. &svn.referto.status; </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>locked</varname></term> <listitem> <simpara> Whether or not the item is locked. (Only set if &true;.) </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>copied</varname></term> <listitem> <simpara> Whether or not the item was copied (scheduled for addition with history). (Only set if &true;.) </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>switched</varname></term> <listitem> <simpara> Whether or not the item was switched using the switch command. (Only set if &true;) </simpara> </listitem> </varlistentry> </variablelist> <para> These keys are only set if the item is versioned: </para> <variablelist> <varlistentry> <term><varname>name</varname></term> <listitem> <simpara> Base name of item in repository. </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>url</varname></term> <listitem> <simpara> URL of item in repository. </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>repos</varname></term> <listitem> <simpara> Base URL of repository. </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>revision</varname></term> <listitem> <simpara> Integer revision of item in working copy. </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>kind</varname></term> <listitem> <simpara> Type of item, i.e. file or directory. &svn.referto.type; </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>schedule</varname></term> <listitem> <simpara> Scheduled action for item, i.e. addition or deletion. Constants for these magic numbers are not available, they can be emulated by using: </simpara> <programlisting role="php"> <![CDATA[ <?php if (!defined('svn_wc_schedule_normal')) { define('svn_wc_schedule_normal', 0); // nothing special define('svn_wc_schedule_add', 1); // item will be added define('svn_wc_schedule_delete', 2); // item will be deleted define('svn_wc_schedule_replace', 3); // item will be added and deleted } ?> ]]> </programlisting> </listitem> </varlistentry> <varlistentry> <term><varname>deleted</varname></term> <listitem> <simpara> Whether or not the item was deleted, but parent revision lags behind. (Only set if &true;.) </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>absent</varname></term> <listitem> <simpara> Whether or not the item is absent, that is, Subversion knows that there should be something there but there isn't. (Only set if &true;.) </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>incomplete</varname></term> <listitem> <simpara> Whether or not the entries file for a directory is incomplete. (Only set if &true;.) </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>cmt_date</varname></term> <listitem> <simpara> Integer Unix timestamp of last commit date. (Unaffected by <parameter>update</parameter>.) </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>cmt_rev</varname></term> <listitem> <simpara> Integer revision of last commit. (Unaffected by <parameter>update</parameter>.) </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>cmt_author</varname></term> <listitem> <simpara> String author of last commit. (Unaffected by <parameter>update</parameter>.) </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>prop_time</varname></term> <listitem> <simpara> Integer Unix timestamp of last up-to-date time for properties </simpara> </listitem> </varlistentry> <varlistentry> <term><varname>text_time</varname></term> <listitem> <simpara> Integer Unix timestamp of last up-to-date time for text </simpara> </listitem> </varlistentry> <!-- <varlistentry> <term><varname></varname></term> <listitem> <simpara> </simpara> </listitem> </varlistentry> --> </variablelist> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Basic example</title> <para> This example demonstrates a basic, theoretical usage of this function. </para> <programlisting role="php"> <![CDATA[ <?php print_r(svn_status(realpath('wc'))); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ Array ( [0] => Array ( [path] => /home/bob/wc/sandwich.txt [text_status] => 8 // item was modified [repos_text_status] => 1 // no information available, use update [prop_status] => 3 // no changes [repos_prop_status] => 1 // no information available, use update [name] => sandwich.txt [url] => http://www.example.com/svnroot/deli/trunk/sandwich.txt [repos] => http://www.example.com/svnroot/ [revision] => 123 [kind] => 1 // file [schedule] => 0 // no special actions scheduled [cmt_date] => 1165543135 [cmt_rev] => 120 [cmt_author] => Alice [prop_time] => 1180201728 [text_time] => 1180201729 ) ) ]]> </screen> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>svn_update</function></member> <member><function>svn_log</function></member> <member><ulink url="&url.svn.manual.status;">SVN documentation for svn status</ulink></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/svn/functions/svn-update.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/svn/functions/svn-update.xml +++ phpdoc/en/reference/svn/functions/svn-update.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.svn-update"> <refnamediv> <refname>svn_update</refname> <refpurpose>Update working copy</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>svn_update</methodname> <methodparam><type>string</type><parameter>path</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>revno</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>recurse</parameter></methodparam> </methodsynopsis> <para> Update working copy at <parameter>path</parameter> to revision <parameter>revno</parameter>. If <parameter>recurse</parameter> is true, directories will be recursively updated. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>path</parameter></term> <listitem> <para> Path to local working copy. </para> &svn.relativepath; </listitem> </varlistentry> <varlistentry> <term><parameter>revno</parameter></term> <listitem> <para> Revision number to update to, default is <constant>SVN_REVISION_HEAD</constant>. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>recurse</parameter></term> <listitem> <para> Whether or not to recursively update directories, default is &true;. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns new revision number on success, returns &false; on failure. </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &warn.experimental.func; </refsect1> <!-- Use when ERRORS exist <refsect1 role="errors"> &reftitle.errors; <para> When does this function throw E_* level errors, or exceptions? </para> </refsect1> --> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Basic example</title> <para> This example demonstrates basic usage of this function: </para> <programlisting role="php"> <![CDATA[ <?php echo svn_update(realpath('working-copy')); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ 234 ]]> </screen> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>svn_checkout</function></member> <member><function>svn_commit</function></member> <member><ulink url="&url.svn.manual.update;">SVN documentation for svn update</ulink></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.doc (#969376807) next »