svn: /web/php/trunk/ svn.php

From: Date: Mon, 25 Jul 2011 20:28:29 +0000
Subject: svn: /web/php/trunk/ svn.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11764@lists.php.net to get a copy of this message
salathe Mon, 25 Jul 2011 20:28:29 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=313684 Log: svn sparse checkout instructions (thanks Florian, #55280) Bug: https://bugs.php.net/55280 (Open) SVN instructions on svn.php don't match the "recommended" way of a sparse co Changed paths: U web/php/trunk/svn.php Modified: web/php/trunk/svn.php =================================================================== --- web/php/trunk/svn.php 2011-07-25 20:06:19 UTC (rev 313683) +++ web/php/trunk/svn.php 2011-07-25 20:28:29 UTC (rev 313684) @@ -7,7 +7,7 @@ <p> You can find more information about SVN, and download clients for most major platforms, at - <a href="http://subversion.tigris.org">the official SVN site</a>. + <a href="http://subversion.apache.org">the official SVN site</a>. </p> @@ -63,19 +63,27 @@ </p> <h2>Steps for using PHP from SVN</h2> -<p>Note to PHP.net developers: SSL is setup, so use your credentials and https://svn.php.net/ to access SVN</p> +<p>Note to PHP.net developers: SSL is set up, so use your credentials and https://svn.php.net/ to access SVN.</p> <ol> <li> - Obtain the latest PHP source from SVN. There is a single <i>php-src</i> - directory that contains all PHP branches and tags. To get PHP from SVN, - use the <i>"svn checkout https://svn.php.net/repository/php/php-src/branches/BRANCH"</i> notation. To checkout the - latest, consider the following SVN commands:<br /><br /> + The <em>recommended</em> way is to make a sparse checkout of the php-src directory only, then grab + the parts that you need. This enables a single commit to span mulitple branches. + <br /><br /> + <code>svn checkout https://svn.php.net/repository/php/php-src --depth immediates php-src</code><br /> + <code>cd php-src</code><br /> + <code>svn update branches tags --set-depth immediates</code><br /> + <code>svn update trunk branches/PHP_5_4 branches/PHP_5_3 --set-depth infinity</code><br /><br /> + + Or alternatively, you can fetch the current PHP source code and the active branches:<br /><br /> <strong>PHP 5.3</strong>: <code>svn checkout https://svn.php.net/repository/php/php-src/branches/PHP_5_3 php-src-5.3</code> <br /> <strong>PHP 5.4</strong>: <code>svn checkout https://svn.php.net/repository/php/php-src/branches/PHP_5_4 php-src-5.4</code> + <br /> + <strong>PHP HEAD</strong>: + <code>svn checkout https://svn.php.net/repository/php/php-src/trunk php-src-trunk</code> <br /><br /> The branch names can also be used for SVN diff and merge operations. </li> @@ -110,6 +118,8 @@ server</a> to see what is available. For example, to checkout the latest english version of the PHP manual:<br /> <code>svn checkout https://svn.php.net/repository/phpdoc/modules/doc-en ./phpdoc-en</code> + <br /><br /> + You can also check the <a href="https://wiki.php.net/vcs/svnfaq">SVN FAQ on the wiki</a>. </p> <a name="buildconf_fail"></a>

« previous php.webmaster (#11764) next »