Changes between Version 22 and Version 23 of OurTutorial
- Timestamp:
- Oct 14, 2022, 8:48:43 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OurTutorial
v22 v23 3 3 SVN = Subversion = manager for file repositories with full change history. 4 4 5 Trac = a web application that includes a wiki, SVN view and tickets.5 Trac = a web application that includes a wiki, SVN view, and tickets. 6 6 7 7 Ticket = submitted bug or idea, e.g. jhusak submitted ticket:1 for putting ASMA in the SVN and pfusik did it. … … 11 11 Make sure Trac interface is in English. Polish translation is incomplete. 12 12 13 On the top click Preferences, Language, English (United States), Savechanges.13 On the top click Preferences, Language, English (United States), and Save your changes. 14 14 15 15 == Trac navigation == … … 29 29 == SVN Basics == 30 30 31 SVN (subversion) is a version control system. In such systems nothing is ever lost, the history of changes is always available with the author, you can always revert to a previous version and fix any problem (see below).31 SVN (subversion) is a version control system. In such systems nothing is ever lost, the history of changes is always available with the author, and you can always revert to a previous version and fix any problem (see below). 32 32 33 33 As you can see in the Browse Source tab, there are three top directories in SVN: 34 * branches - for the more advanced users, we don't use ityet34 * branches - for the more advanced users, we don't use them yet 35 35 * tags - contains tagged versions, usually releases and sometimes betas, we don't edit files directly here 36 * trunk - it's the main work 36 * trunk - it's the main workspace, you can browse it from Trac, but it's much more comfortable to have a copy on your disk (see below) 37 37 38 Every write to SVN is registered in its history - which you see in Timeline. A write is a "changeset". A changeset has the following attributes:38 Every update to SVN is registered in its history - which you see in Timeline. A write is a "changeset". A changeset has the following attributes: 39 39 * ordinal number 40 40 * author's login 41 41 * timestamp 42 * log message - short text written by the author to summarize the change42 * log message - a short text written by the author to summarize the change 43 43 * the changes - added/changed/removed files or directories 44 44 … … 47 47 == TortoiseSVN Installation == 48 48 49 http ://tortoisesvn.net/downloads.html49 https://tortoisesvn.net/downloads.html 50 50 Choose 32-bit or 64-bit to match your Windows version. 51 51 Any installation is fine, you can uncheck the unnecessary things such as extra icons, command-line tools and dictionaries. … … 54 54 == Getting a local copy of SVN == 55 55 56 Create on your disk an ordinary empty directory to contain your copy of SVN. Let's say it's called asma-trunk (use any name and location you like). Enter this directory in Windows Explorer, click the empty space and select TortoiseSVN / Checkout. In the URL of repository paste:56 Create on your disk an ordinary empty directory to contain your copy of SVN. Let's say it's called asma-trunk (use any name and location you like). Enter this directory in Windows Explorer, click the empty space and select TortoiseSVN / Checkout. In the URL of the repository paste: 57 57 {{{svn://asma.scene.pl/asma/trunk}}} 58 Make sure that Checkout directory is exactly your empty directory. Click OK and wait for the download.58 Make sure that the checkout directory is exactly your empty directory. Click OK and wait for the download. 59 59 60 The downloaded files are regular files - you can play and edit them. However, delet e, rename and move must be done specially (seebelow).60 The downloaded files are regular files - you can play and edit them. However, deleting, renaming and moving must be done in a special way described below). 61 61 62 62 == Basic SVN commands == … … 72 72 == Making changes == 73 73 74 The easiest change is modifying a file which is already in SVN. Modify the file as you normally do - e.g. edit text files in the notepad. Next choose SVN Commit - it will display the list of modified files. Enter the description of the change in the top edit box (the description is important so that it's easier to browse the history), accept. Enter your SVN login and password. Our changes are sent to the server and are available for the others, who need to do SVN Update.74 The easiest change is modifying a file that is already in SVN. Modify the file as you normally do - e.g. edit text files in the notepad. Next, choose SVN Commit - it will display the list of modified files. Enter the description of the change in the top edit box (the description is important so that it's easier to browse the history), and accept. Enter your SVN login and password. Our changes are sent to the server and are available for the others, who need to do SVN updates. 75 75 76 To add a file, put it in the directory, right-click it and select TortoiseSVN / Add. The file won't be sent to the server until you select SVN Commit, as described above.76 To add a file, put it in the directory, right-click it, and select TortoiseSVN / Add. The file won't be sent to the server until you select SVN Commit, as described above. 77 77 78 78 To delete a file '''don't just delete it'''. Instead, TortoiseSVN / Delete, then SVN Commit. … … 88 88 == Viewing changes == 89 89 90 Install TortoiseSvnDiff. It 's optional,but strongly recommended.90 Install TortoiseSvnDiff. It is optional but strongly recommended.