Difference between revisions of "Download using Subversion"
From ERPXE Wiki
Line 29: | Line 29: | ||
# Initialize the repository | # Initialize the repository | ||
$ svnadmin create /svnroot | $ svnadmin create /svnroot | ||
− | + | ||
# Go to the directory that contains the content you want to put | # Go to the directory that contains the content you want to put | ||
# into a SVN module, in this case, the ~/source directory | # into a SVN module, in this case, the ~/source directory | ||
$ cd ~/source | $ cd ~/source | ||
− | + | ||
# Perform a SVN import | # Perform a SVN import | ||
$ svn import file:///svnroot -m "initial import" | $ svn import file:///svnroot -m "initial import" | ||
Line 41: | Line 41: | ||
Adding ~svnroot | Adding ~svnroot | ||
Committed revision 1. | Committed revision 1. | ||
− | + | ||
# Create a working copy from which to make changes and check them | # Create a working copy from which to make changes and check them | ||
# back into the repository, etc. | # back into the repository, etc. |
Revision as of 23:32, 10 February 2012
To access a Subversion repository, configure your Subversion client as follows:
Hostname: erpxe.svn.sourceforge.net Port: 443 Protocol: HTTPS Repository Path: /svnroot/erpxe For clients that use a URL string: https://erpxe.svn.sourceforge.net/svnroot/erpxe
No username and password will be requested when performing read operations. read access is provided to everyone, without the need to authenticate.
Read access includes these commands:
Checkout:
svn co https://erpxe.svn.sourceforge.net/svnroot/erpxe/trunk
Update:
svn update
# The following assumes /svnroot is a safe location for the # SVN repository to be stored, modify accordingly should you need # an alternate location. $ mkdir ~/svnroot
# Initialize the repository $ svnadmin create /svnroot # Go to the directory that contains the content you want to put # into a SVN module, in this case, the ~/source directory $ cd ~/source # Perform a SVN import $ svn import file:///svnroot -m "initial import" Adding src Adding src/foo Adding src/bar Adding ~svnroot Committed revision 1. # Create a working copy from which to make changes and check them # back into the repository, etc. $ mkdir ~/working_copy $ cd ~/working_copy $ svn co file:///svnroot A svnroot/src A svnroot/src/foo A svnroot/src/bar Checked out revision 1.