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/06/20 01:32] – [Quickstart] changed 5.2 to 5.4 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 43: Line 43:
 ===== I tried to check out a module and svn said, "svn: Repository moved temporarily to '/viewvc/module'; please relocate". Why? ===== ===== I tried to check out a module and svn said, "svn: Repository moved temporarily to '/viewvc/module'; please relocate". Why? =====
 You gave SVN a URL of the form "https://svn.php.net/module". The SVN repository lives under a subdirectory called repository; the correct URL is "https://svn.php.net/repository/module". You gave SVN a URL of the form "https://svn.php.net/module". The SVN repository lives under a subdirectory called repository; the correct URL is "https://svn.php.net/repository/module".
 +
 +
 +
 +===== I tried committing but svn said something like, "Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request for '/repository/!svn/act/foo'". Why? =====
 +SVN commits require a SSL checkout. See [[vcs:https-svn]] for details.
  
 ===== I tried to add a new file to my checkout and svn said "svn:keywords not set on textual file". What does this mean? ===== ===== I tried to add a new file to my checkout and svn said "svn:keywords not set on textual file". What does this mean? =====
Line 88: 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 128: 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.1308533529.txt.gz · Last modified: 2017/09/22 13:28 (external edit)