SubVersion: Difference between revisions

From Wiki RB4
Line 19: Line 19:
===svn===
===svn===
svn is the command line client.
svn is the command line client.
===svnadmin===
==Literature
#http://open.ncsu.edu/se/tutorials/subclipse/index.html#section5_0

Revision as of 14:40, 27 November 2007

Installation

s. Installation

Configuration

  1. mkdir C:\Uwes\Programme\Subversion\repository=> directory for repository
  2. svnadmin create \Uwes\Programme\Subversion\repository=> create repository
  3. in Eclipse Subclipse Perspective new repository added
  4. via Eclipse->RightClick on Project->Team->Share Project->Select Repository committed

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.


svnadmin

==Literature

  1. http://open.ncsu.edu/se/tutorials/subclipse/index.html#section5_0