SubVersion

From Wiki RB4
Revision as of 20:02, 27 November 2007 by UweHeuer (talk | contribs) (→‎Tools)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Installation[edit]

s. Installation

Configuration[edit]

  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[edit]

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. The local version is called working copy. 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 <???>
  3. update: update local files, if not changed, with repository version

Tools[edit]

Subclipse[edit]

svn[edit]

svn is the command line client.


svnadmin[edit]

Literature[edit]

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