Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
systems:subversion_setup_and_configuration [2010/03/22 15:46]
smayr
systems:subversion_setup_and_configuration [2018/01/04 15:56] (current)
ajdavis
Line 1: Line 1:
-== Subversion Setup and Configuration ==+== Subversion Setup and Configuration (SVN) ==
  
 This article explains how to perform version control using Subversion (Linux or Windows server) and SVN (Linux client) or TortoiseSVN (Windows client). This article explains how to perform version control using Subversion (Linux or Windows server) and SVN (Linux client) or TortoiseSVN (Windows client).
Line 21: Line 21:
   $ sudo -u svnuser svnserve -d -T -r /data/repos   $ sudo -u svnuser svnserve -d -T -r /data/repos
   $ su -l svnuser -c "svnserve -d -T -r /data/repos"   $ su -l svnuser -c "svnserve -d -T -r /data/repos"
 +  
 +Add exception rule to firewall to allow traffice through port 3690 on the subversion server. In Ubuntu:
 +  $ ufw status
 +  $ # Only to 192.168.0.31: ufw allow from 192.168.0.0/24 to 192.168.0.31 port 3690
 +  $ ufw allow from 192.168.0.0/24 to any port 3690
  
 > ** Note for SELinux / Fedora Core 3+ / Red Hat Enterprise users ** ((Subversion FAQ, http://subversion.tigris.org/faq.html)) : > ** Note for SELinux / Fedora Core 3+ / Red Hat Enterprise users ** ((Subversion FAQ, http://subversion.tigris.org/faq.html)) :
Line 338: Line 343:
 **Create a Branch/Tag** **Create a Branch/Tag**
  
-To create a branch (or tag), simply use the ''copy'' command in svn (or Branch/Tag under TortoiseSVN), and select a target folder such as ''<nowiki>svn://</nowiki>server/projname/branch/projname-1.0''+To create a branch (or tag), simply use one of the following: 
 +  * In svn use ''copy'' command: <code bash> % svn copy SRC DST </code> 
 +  * In TortoiseSVN use Branch/Tag command:  
 +    * Right-click on project 
 +    * TortoiseSVN > Branch/Tag 
 +    * Select a target folder such as ''<nowiki>svn://</nowiki>server/projname/branches/projname-1.0''
  
 === Synchronizing Branch To Trunk === === Synchronizing Branch To Trunk ===
  * Periodically you merge trunk changes into the branch, so that the branch contains all the trunk changes plus the new feature. The synchronisation process uses Merge a range of revisions. When the feature is complete then you can merge it back to trunk using either Reintegrate a branch or Merge two different trees.   * Periodically you merge trunk changes into the branch, so that the branch contains all the trunk changes plus the new feature. The synchronisation process uses Merge a range of revisions. When the feature is complete then you can merge it back to trunk using either Reintegrate a branch or Merge two different trees. 
 + * [[http://svnbook.red-bean.com/en/1.5/svn.branchmerge.basicmerging.html|Basic Merging]]