Archive for the ‘Subversion’ Category

Subversion: Useful SVN Commands

Friday, December 26th, 2008

Checkout

svn checkout url [outputfolder]
svn co url [outputfolder]

Update
Update specific files

svn update [filename1] [filename2] … [filenameN]

Update from current directory

svn update

Commit

svn commit - m “message” [filename]

Add

svn add [filename]
svn commit -m “message” [filename]
Related Links

Subversion: Create Repository

Thursday, December 25th, 2008

Create the repository on the server side.

$ cd /path/svnreposroot
$ svnadmin create repos

Linux: Using Yum

Thursday, December 25th, 2008

List (all subversion related packages)

$ yum list | grep subversion

Search

$ yum search subversion

Install

$ yum install subversion

Info about a package

$ yum info subversion

Yum repos directory

$ cd /etc/yum.repost.d

Source Control System - SVN (subversion), Git, Mercurial

Thursday, December 25th, 2008

Subversion (centralized source repository):

Git (distributed):

Mercurial (distributed):