Welcome to the PtokaX Wiki!
This wiki is devoted to let users share information on the great hubsoft PtokaX. However, it is not limited to PtokaX, it is destined to share and discuss information on different parts of the LUA programming language, but the site is NOT intended to be a replacement for the primary LUA Board aka the PtokaX Portal, nor the secondary LUA Board or the PtokaX resources.
If you’re not familiar with wikis then in short: they are user-contributed sites: pages can be edited by (almost) anyone. As such, there is always kind of up-to-date and (hopefully) proper content. They are better than forums, since relevant pieces of information are on the same page. Do not hesitate to share your knowledge, and we all hope you can learn and teach a lot here! — bastya_elvtars
Trace: » PtokaX Service Installation Guide » The Operating System Library in Lua 5.1.x » Overview of the PtokaX API2 » Using the string library in LUA » Metatables and metamethods » Setting up PtokaX » main » how_to_register » File manipulation » Using SVN
Using SVN
SVN is a version tracking system enabling developers to work simultaneously on one project, and end-users to quickly download/update the source files associated to a project. Let's just see how it works!
Requirements
You need TortoiseSVN. Download and install it according to the instructions on its home page.
Creating a 'working directory' and doing a checkout
Create a new folder anywhere on your PC. Then rightclick the folder, and notice the SVN Checkout item. Click it. You will get a window, where all you have to do is to enter the SVN URL. Let it be svn:server/data/subversion/bastya/lawmaker/trunk now 1).
If you click OK, the current files from the SVN server will be downloaded. The folders' and its subfolders' icons will change to a greenish one. This indicates that you have an up-to-date version.
.svn'') to another folder if you would like to do so, as this folder must stay the way it is, this will be the base when SVN looks for changes in the future.
===== Updating the files =====
Assume the developer(s) told you that there are several fixes in the SVN. Only a few files were affected, so you don't want to download all of them. Rightclick your working directory and select SVN Update. There will be a progress window that shows which files were updated, and downloads only those.
===== Branches and tags =====
SVN is like a tree. Its trunk represents the bleeding-edge code. Branches usually represent more or less stable code. Tags are something that indicate a certain milestone in the tree. On a certain branch, or rarely trunk, a tag represents a certain revision that is tagged for some reason. For instance, in the stable branch, a RELEASE tag usually represents a release milestone. People checking out that tag usually check out release versions.
Never edit/delete/modify any file in this folder, as it will confuse SVN! Just copy all files/folders from the 'working directory' (except the folders named
You are here: About the Wiki » misc » Using SVN