Difference between revisions of "Download using Subversion"

From ERPXE Wiki
Line 16: Line 16:
 
Update:  
 
Update:  
 
  svn 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.

Revision as of 23:31, 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




  1. The following assumes /svnroot is a safe location for the
  2. SVN repository to be stored, modify accordingly should you need
  3. an alternate location.

$ mkdir ~/svnroot

  1. Initialize the repository

$ svnadmin create /svnroot

  1. Go to the directory that contains the content you want to put
  2. into a SVN module, in this case, the ~/source directory

$ cd ~/source

  1. Perform a SVN import

$ svn import file:///svnroot -m "initial import" Adding src Adding src/foo Adding src/bar Adding ~svnroot Committed revision 1.

  1. Create a working copy from which to make changes and check them
  2. 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.