vcs:svnfaq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vcs:svnfaq [2011/07/08 16:11] – added the SSL error/requirement to FAQ philipvcs:svnfaq [2021/04/06 08:00] (current) – rename master to main sergey
Line 12: Line 12:
 The following command lines might get you started, you should read the information below in any case! The following command lines might get you started, you should read the information below in any case!
  
-Fetch current PHP source code and the (by the time this is written) active branches: +The **recommended** way is to make a sparse checkout of the php-src only (see below for a more fully fledged example):
-<code> +
-svn co https://svn.php.net/repository/php/php-src/trunk PHP_TRUNK +
-svn co https://svn.php.net/repository/php/php-src/branches/PHP_5_3 PHP_5_3 +
-svn co https://svn.php.net/repository/php/php-src/branches/PHP_5_4 PHP_5_4 +
-</code> +
- +
-Alternatively, and **recommended** you can make a sparse checkout of the php-src only (see below for a more fully fledged example):+
 <code> <code>
 svn co https://svn.php.net/repository/php/php-src --depth immediates php-src svn co https://svn.php.net/repository/php/php-src --depth immediates php-src
Line 25: Line 18:
 svn up branches tags --set-depth immediates svn up branches tags --set-depth immediates
 svn up trunk branches/PHP_5_4 branches/PHP_5_3 --set-depth infinity svn up trunk branches/PHP_5_4 branches/PHP_5_3 --set-depth infinity
 +</code>
 +
 +Or alternatively (but **not** recommended), you can fetch the current PHP source code and the (by the time this is written) active branches:
 +<code>
 +svn co https://svn.php.net/repository/php/php-src/trunk PHP_TRUNK
 +svn co https://svn.php.net/repository/php/php-src/branches/PHP_5_3 PHP_5_3
 +svn co https://svn.php.net/repository/php/php-src/branches/PHP_5_4 PHP_5_4
 </code> </code>
  
Line 93: Line 93:
  
 # Now, in php-src get all tags and branch names, but only # Now, in php-src get all tags and branch names, but only
-# populate trunk and the PHP_5_2 and PHP_5_3 branches+# populate trunk and the PHP_5_3 and PHP_5_4 branches
 cd ~/src/php/php-src cd ~/src/php/php-src
 svn up branches tags --set-depth immediates svn up branches tags --set-depth immediates
-svn up trunk branches/PHP_5_2 branches/PHP_5_3 --set-depth infinity+svn up trunk branches/PHP_5_3 branches/PHP_5_4 --set-depth infinity
  
 # In pecl get all tags and branch names, # In pecl get all tags and branch names,
Line 133: Line 133:
   * You cannot checkout the entire repository on case-insensitive filesystem   * You cannot checkout the entire repository on case-insensitive filesystem
 ===== Validating your account ===== ===== Validating your account =====
-To gain access to svn.php.net you have to "validate your SVN account". This is automatically done by logging into master (https://master.php.net/login.php), the wiki (http://wiki.php.net) or reply to bugs on bugsweb (http://bugs.php.net/) from the developer tab.+To gain access to svn.php.net you have to "validate your SVN account". This is automatically done by logging into main (https://main.php.net/login.php), the wiki (http://wiki.php.net) or reply to bugs on bugsweb (http://bugs.php.net/) from the developer tab.
 Your access credentials will be synchronized within 15minutes.  Your access credentials will be synchronized within 15minutes. 
  
vcs/svnfaq.1310141480.txt.gz · Last modified: 2017/09/22 13:28 (external edit)