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
Last revisionBoth sides next revision
vcs:svnfaq [2011/04/06 10:59] – external edit 127.0.0.1vcs:svnfaq [2017/09/22 13:28] – external edit 127.0.0.1
Line 3: Line 3:
  
 ====== Moving to SVN FAQ ====== ====== Moving to SVN FAQ ======
-   * The repository URL is https://svn.php.net/repository/ . The ViewVC URL is http://svn.php.net/+   * The repository URL is https://svn.php.net/repository/ . The ViewVC URL is https://svn.php.net/
    * You should read the [[http://darkrainfall.org/phpsvn-guide.html|quick & dirty guide to using PHP's SVN]]    * You should read the [[http://darkrainfall.org/phpsvn-guide.html|quick & dirty guide to using PHP's SVN]]
    * Wanna help? The [[vcs/svnfaq/firefighting]] page lists all smokes and fires detected    * Wanna help? The [[vcs/svnfaq/firefighting]] page lists all smokes and fires detected
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_2 PHP_5_2 +
-</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
 cd php-src cd 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_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 42: Line 42:
  
 ===== 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 "http://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 124: Line 129:
  
 ===== Gotchas ===== ===== Gotchas =====
-  * The "directory structure" has changed slightly. The root directories represent "will probably be its own repository in the future". Poke around on http://svn.php.net/ to see the specifics.+  * The "directory structure" has changed slightly. The root directories represent "will probably be its own repository in the future". Poke around on https://svn.php.net/ to see the specifics.
   * You have to "[[http://wiki.php.net/vcs/svnfaq#validating_your_account|validate your php.net account]]" to gain access to SVN   * You have to "[[http://wiki.php.net/vcs/svnfaq#validating_your_account|validate your php.net account]]" to gain access to SVN
   * You cannot checkout the entire repository on case-insensitive filesystem   * You cannot checkout the entire repository on case-insensitive filesystem
vcs/svnfaq.txt · Last modified: 2021/04/06 08:00 by sergey