SubVersion: Difference between revisions

From Wiki RB4
Line 3: Line 3:


==Configuration==
==Configuration==
#mkdir C:\Uwes\Programme\Subversion\repositories\uweheuer => directory for repository
#mkdir C:\Uwes\Programme\Subversion\repositories=> directory for repository
#svnadmin create \Uwes\Programme\Subversion\repositories\uweheuer => create repository
#svnadmin create \Uwes\Programme\Subversion\repositories=> create repository
#svn import src file:///C:/Uwes/Programme/Subversion/repositories/uweheuer/src -m "Initial"


==Concepts==
==Concepts==

Revision as of 14:12, 27 November 2007

Installation

s. Installation

Configuration

  1. mkdir C:\Uwes\Programme\Subversion\repositories=> directory for repository
  2. svnadmin create \Uwes\Programme\Subversion\repositories=> create repository
  3. svn import src file:///C:/Uwes/Programme/Subversion/repositories/uweheuer/src -m "Initial"

Concepts

Subversion can be used without running the server. The repository can be stored on your local file system and accessed by a Subversion client directly. The data is stored in a repository. The repository stores the data in a filesystem tree. Unlike most version control systems, Subversion's revision numbers apply to entire trees, not individual files. Each revision number selects an entire tree, a particular state of the repository after some committed change. Another way to think about it is that revision N represents the state of the repository filesystem after the Nth commit. When Subversion users talk about “revision 5 of foo.c”, they really mean “foo.c as it appears in revision 5.”

  1. check out (copy) => working copy: svn checkout <???>
  2. publish: svn commit <???>

Tools

svn

svn is the command line client.