Basic Steps (Subversion)
Mittwoch, 10. Februar 2010 by Mike Markgraf
1 Subversion 1.6.5 can be downloaded from the website http://subversion.tigris.org/ (recommended zip file).
2 The zip file svn-win32-1.6.5.zip must extract under d.
e.g.:
d:\svn-win32-1.6.5
d:\svn-win32-1.6.5\bin
...
3 Now you must create the repository svn_repository under drive d.
e.g.:
d:\svn_repository
4 The repository can be created by the command d:\svn-win32-1.6.5\bin\svnadmin create --fs-type fsfs d:\svn_repository
e.g.:
d:\svn_repository\conf
d:\svn_repository\dav
d:\svn_repository\db
...
6 Register Subversion as Windows Service by running the command sc create svnserve binpath= "D:\svn-win32-1.6.5\bin\svnserve.exe --service --root d:\svn_repository"" displayname= "Subversion" depend= tcpip start= auto
7 Create the folder ProjectA and ProjectB into the folder d:\svn-win32-1.6.5\bin.
8 Now we import the folder ProjectA and ProjectB into the repository. Run the command svn import ProjectA file:///d:/svn_repository/ProjectA -m "ProjectA initial import" and
svn import ProjectA file:///d:/svn_repository/ProjectA -m "ProjectA initial import" to import the folder.
9 The client software TortoiseSVN-1.6.5.16974-win32-svn-1.6.5.msi can be downloaded from the website http://tortoisesvn.tigris.org/
10 Install the client software TortoiseSVN-1.6.5.16974-win32-svn-1.6.5.msi. Notice: The client pc must be rebooted after installation.
11 Choose the Repo-browser from the svn context menue. You can see the imported projects by typing the address svn://localhost into the address field.
2 The zip file svn-win32-1.6.5.zip must extract under d.
e.g.:
d:\svn-win32-1.6.5
d:\svn-win32-1.6.5\bin
...
3 Now you must create the repository svn_repository under drive d.
e.g.:
d:\svn_repository
4 The repository can be created by the command d:\svn-win32-1.6.5\bin\svnadmin create --fs-type fsfs d:\svn_repository
e.g.:
d:\svn_repository\conf
d:\svn_repository\dav
d:\svn_repository\db
...
6 Register Subversion as Windows Service by running the command sc create svnserve binpath= "D:\svn-win32-1.6.5\bin\svnserve.exe --service --root d:\svn_repository"" displayname= "Subversion" depend= tcpip start= auto
7 Create the folder ProjectA and ProjectB into the folder d:\svn-win32-1.6.5\bin.
8 Now we import the folder ProjectA and ProjectB into the repository. Run the command svn import ProjectA file:///d:/svn_repository/ProjectA -m "ProjectA initial import" and
svn import ProjectA file:///d:/svn_repository/ProjectA -m "ProjectA initial import" to import the folder.
9 The client software TortoiseSVN-1.6.5.16974-win32-svn-1.6.5.msi can be downloaded from the website http://tortoisesvn.tigris.org/
10 Install the client software TortoiseSVN-1.6.5.16974-win32-svn-1.6.5.msi. Notice: The client pc must be rebooted after installation.
11 Choose the Repo-browser from the svn context menue. You can see the imported projects by typing the address svn://localhost into the address field.
