• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Subversion Admin
 

Subversion Admin

on

  • 941 views

How to setup a Subversion repository

How to setup a Subversion repository

Statistics

Views

Total Views
941
Views on SlideShare
940
Embed Views
1

Actions

Likes
0
Downloads
17
Comments
0

1 Embed 1

http://www.slideshare.net 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Subversion Admin Subversion Admin Presentation Transcript

    • Subversion Overview of Administration Only for information
    • Current Versions of Server
      • Subversion 1.4.6
      • Open source from Tigris.Org
    • Current Version of client
      • TortoiseSVN 1.4.8 works against Subversion 1.4.6
      • Available at Tigris.org
      • It works in the Windows Explorer, and is not bound to any software development tool
    • How to create a Subversion repository -1
      • Open a command prompt
      • Navigate to drive on which you wish to create the Subversion repository (say D:)
      • Create an empty folder D:SVNx
      • Create another folder within it called ‘MyWebApp’
      • Go to D:SVNx and type ‘ svnadmin create --fs-type fsfs MyWebApp’
    • Creating a repository - 2
      • Now go into the new directory ‘myWebApp’
      • See the files created by Subversion (dir)
      • Go into the sub folder ‘conf’
      • Edit the file titled ‘svnserve.conf’
      • Uncomment the lines ‘anon-access’, ‘auth-access’ and ‘password-db’. Save the file
    • Setup a repository -3
      • Edit the file ‘passwd’
      • Uncomment the 2-user/password combinations for harry and sally
      • Change the user name (harry and sally) to the user names you wish to assign for the project to the developers in the team
      • Change the passwords as required
      • Save the file
    • Setup a repository -4
      • Create a batch file called ‘StartSVN.bat’
      • Key in the value ‘svnserve.exe –d –r D:/SVNx/myWebApp -–listen-port 3691’
      • Run this batch file
      • Now the Subversion server is up and running
    • Setup a repository - 5
      • Now go to the folder, which has the project to be ‘imported’ into the above repository
      • Right click that folder and choose the ‘Import’ option
      • Key in ‘ svn://localhost:3691/myWebApp’ in the URL field of the dialog box (Replace local host with the name or IP address of the server)
      • Folders will now get imported into the Repository
    • How to take a ‘hot’ backup
      • Svnadmin –hotcopy SourceRepositoryFolder BackupFolder