Svn Subversion

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Svn Subversion - Presentation Transcript

    1. SVN - Subversion Ranjan Kumar C-DAC Mumbai
    2. Agenda
      • Introduction
      • Quick Start
      • Checkout and Recovery
      • Eclipse as a client
      • References
    3. Introduction
      • How to check whether SVN is already there in your linux system or not?
        • svn
        • svnadmin
        • svndumpfilter
        • svnlook
        • svnserve
        • svnsync
        • svnversion
    4. Quick Start
      • Subversion stores all data in a central repository. So first of all create a new repository.
      • $svnadmin create /var/svn/repos
      • Following files and directories are created in the directory /var/svn/repos
      • conf,
      • dav,
      • db
      • format
      • hooks
      • locks
      • README.txt
      • 2. Creating repository for your project say ‘myproject’.
      • /var/svn/repos/
      • |
      • |--- conf
      • | |--- svnserve.conf
      • |--- dav/
      • |--- db/
      • |--- format
      • |--- hooks/
      • |--- locks/
      • |--- README.txt
      • |--- myproject/
      • | |--- branches /
      • | |--- tags /
      • | |--- trunk /
      • 3. Create group of users.
      • $ groupadd myproject_developers
      • 4. Add users to the group.
      • How to add a new user(not already existing) ?
      • $ useradd -g myproject_developers sony
      • $ id sony
      • How to add existing user?
      • $ usermod -a -G myproject_developers mony
      • $ id mony
      • 5. Defining owner and groupowner of the directories db and myproject .
      • $ chown -Rvf root myproject
      • $ chgrp -Rvf myproject_developers myproject
      • $ chown -Rvf root /var/svn/repos/db
      • $ chgrp -Rvf myproject_developers /var/svn/repos/db
      • 6. Change the permissions of directories db and myproject .
      • $ chmod -Rvf u=+rwx myproject
      • $ chmod -Rvf g=+rwx myproject
      • $ chmod -Rvf u=+rwx /var/svn/repos
      • $ chmod -Rvf g=+rwx /var/svn/repos
      • 7. Import existing projects to the repository.
      • $ svn import myproject file:///var/svn/repos/myproject/trunk -m "initial import"
      • 8. Starting the svn server if it is not already running.
      • $ svnserve -d
      • $ svnserve -d -r /var/svn
      • Now its all done.
    5. Checkout and Recovery
      • How to checkout the working copy of the specific project repository?
      • $ svn checkout svn+ssh://mony@201.13.146.23/var/svn/repos/myproject/trunk workspace
      • How to recover the SVN repository?
      • $ svnadmin recover /var/svn/repos
      • $ chmod -Rvf u=+rwx /var/svn/repos
      • $ chmod -Rvf g=+rwx /var/svn/repos
    6. Eclipse as a client
      • http:// subclipse.tigris.org/install.html
    7. References
      • Subversion book is available at: http://svnbook.red-bean.com / For more information about the Subversion project, visit: http:// subversion.tigris.org . For eclipse plugin for subversion: http:// subclipse.tigris.org / .
      • More Details
      • http://ranjankumar.com/2008/09/26/svn-subversion /

    + Ranjan KumarRanjan Kumar, 2 years ago

    custom

    887 views, 1 favs, 1 embeds more stats

    A Version Control tool.

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 887
      • 879 on SlideShare
      • 8 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 44
    Most viewed embeds
    • 8 views on http://ranjankumar.com

    more

    All embeds
    • 8 views on http://ranjankumar.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories