Thursday 27 June 2013

SVN Tutorial for Beginners

Subversion Tutorial


Subversion is an open source revision control software which is designed to be a modern replacement of CVS. This tutorial describes how to setup a SVN repository in a Linux/Unix machine, how to checkout/import modules, update/commit changes to the repository under Windows/Linux. Some examples specific for UBC CS users are also provided.

The structure of SVN Repo is

Trunck
Tag
Branch

4 comments:

  1. Hi Venkatesh,
    Please provide Subversion tutorial pdf link.

    ReplyDelete
  2. Q. How to apply a patch in SVN ?

    Ans. First we need to "Create Patch" by making changes and generating the .diff file. Then this .diff file can be applied to the new Code base using "Apply Patch".

    ReplyDelete
  3. Q.How do I find out which subversion revision I have?How do I find out what the latest available revision is?How do I see what’s changed between my last update and the latest revision?
    Ans. > svn log -q -r BASE
    > svn log -q -r HEAD
    > svn log -r BASE:HEAD



    ReplyDelete
  4. I like to create a TAG, which i select only those revisions which ever i wanted, the reason i wanted to do these to get only whose files which are changed by the project in the Branch. Please let me know if you need any more info. my number - 9951881927

    ReplyDelete

Tricks and Tips