© Polarion Software ® Subtrain – SVN User training – IntroductionWhat is Subversion? 1 backupcollaboration documentationversioning
© Polarion Software ® Subtrain – SVN User training – ArchitectureOverview 2 Berkley DB FSFS Subversion Repository Client InterfaceRepository Interface GUI client apps Command line client apps Client Library Working Copy Management Library Repository access DAV SVN Local Apache mod_dav mod_dav_svn svnserve Internet (Any TCP/IP Network) TortoiseSVN Subversive WebClient for SVN
© Polarion Software ® Subtrain – SVN User training – file:// Direct repository access to local or network drive. Access via WebDAV protocol to Subversion-aware Apache server. Same as but with SSL encryption. svn:// Unauthenticated TCP/IP access via custom protocol to an svnserve server. svn+ssh:// Authenticated, encrypted TCP/IP access via custom protocol to an svn server. ArchitectureAccess URLs 3
© Polarion Software ® Subtrain – SVN User training – file://hostname/path/to/repos On local machines the hostname part must either be absent or localhost. This results in a path like this one: file:///path/to/repos On Windows you have to specify the drive where to find the repository: file:///X:/path/to/repos ArchitectureAccess URLs 4
© Polarion Software ® Subtrain – SVN User training – ArchitectureThe working copy 5 repository working copy “Checking out” creates a working copy of a specific revision of the repository svn SVN's config data. Do not edit these folders!
© Polarion Software ® Subtrain – SVN User training – ArchitectureRepository Layout 6 trunk/tags/branches on root; each module will be tagged separately checkout of all modules is possible commits can span multiple modules tags can not span multiple modules in single commit (workaround by 3 rd party tools)
© Polarion Software ® Subtrain – SVN User training – The Working Cycle 7 svn checkout svn update get content svn add svn move svn delete Make changes svn commit Submit your changes Subversion Repository
© Polarion Software ® Subtrain – SVN User training – The Working CycleCheck Out 8 A check out will transfer the project’s content from the repository server to the client machine. Repository Server The client machine Check out a working copy
© Polarion Software ® Subtrain – SVN User training – The Working CycleCommit 9 A commit transfers the project’s modified files from the client machine to the repository server. Repository Server The client machine commit changes to repository