Content
- Get a Subversion client
- Windows
- Other OSs
- Install TortoisesSVN
- Checkout
- Update (whole tree)
- Update (certain part)
- Check for Updates
- Update your folder(s)
- Export
SVN = Subversion
CVS = Concurrent Versions System
Get a Subversion client
RosWiki-Site: http://mok.lvcm.com/cgi-bin/reactos/roswiki?Subversion
Windows
- Command Line Client (http://subversion.tigris.org/servlets/P ... olderID=91)
- Windows Shell Integrated Client (http://tortoisesvn.tigris.org/download.html)
- RapidSVN is a svn client similar to WinCVS (http://rapidsvn.tigris.org)
I prefer the TortoisesSVN client and so I will show in this tutorial downloading the ReactOS source via TortoisesSVN.
Install TortoisesSVN
- Download the SVN client (http://tortoisesvn.tigris.org/download.html)
- Install TortoisesSVN
- Restart your computer
Checkout (only the first time)
Info
This will take a significant amount of bandwidth, disk space and time. I tried (test) it with an old 56k modem and it takes about 2 hours (on a Pentium 3 1000 MHz)! 280 MB on my disk and contain about 35000 files! But you only have to do this once!
- Create a new folder (e.g. C:\Ros\Source\Trunk)
From: TortoisesSVN Manual wrote: There are some standard, recommended ways to organize a repository. Most people create a trunk directory to hold the "main line" of development, a >branches directory to contain branch copies, and a tagsdirectory to contain tag copies. If a repository holds only one project, then often people create these top-level directories:
/trunk
/branches
/tags
- Click with the right mouse button on the folder (e.g. Trunk)
- Click on "Checkout..."
- Input "svn://svn.reactos.org/reactos/trunk"
[old URI (02/2006): "svn://svn.reactos.org/audited/trunk/reactos"]
[old URI (01/2005 - 12/2005): "svn://svn.reactos.com/trunk/reactos"] - Click "OK"
- A window appear and show a long file list (tranfered files)
- After some minutes the transfer is complete
Update (whole tree)
Info
This can take a some amount of bandwidth and disk space.
- Click with the right mouse button on the folder (e.g. Trunk) and chose "Update"
- TortoisesSVN download only newer files from the ReactOS server.
Update (only a certain part / folders)
Info
This can take a some amount of bandwidth and disk space.
- Check for Updates
- Select a folder or folders
- Click with the right mouse button on the folder (e.g. Trunk)
- Chose "TortoisesSVN" -> "Check for Updates" (only available if you select one folder)
- TortoisesSVN search for updates and display a update list (no file transfer !!!)
- Update your folder(s)
- Click with the right mouse button on the folder (e.g. Trunk) and chose "Update" or "TortoisesSVN" -> "Update to Revision..."
- TortoisesSVN download only newer files from the ReactOS server.
Export
Sometimes you may want a working copy without any of those ".svn" directories, e.g. to create a zipped tarball of your source. Instead of making a copy and then delete all those .svn directories manually, TortoiseSVN offers a export function.
- Click with the right mouse button on the folder (e.g. Trunk) and chose "TortoisesSVN" -> "Export"
- Chose a folder (e.g. C:\Ros\Source\20050102)
- Now you are able to compile reactos (see tutorial on this site)
Don't forget reading the manual and the official homepage for more information.
License: GNU FDL (GNU Free Documentation License)
Klemens Friedl <frik85>