Changes between Version 24 and Version 25 of OurTutorial


Ignore:
Timestamp:
Apr 13, 2025, 4:20:35 PM (4 weeks ago)
Author:
jac
Comment:

Wording

Legend:

Unmodified
Added
Removed
Modified
  • OurTutorial

    v24 v25  
    11== What is what ==
    22
    3 SVN = Subversion = manager for file repositories with full change history.
     3SVN = Subversion = a manager for file repositories with full change history.
    44
    55Trac = a web application that includes a wiki, SVN view, and tickets.
    66
    7 Ticket = submitted bug or idea, e.g. jhusak submitted ticket:1 for putting ASMA in the SVN, and pfusik did it.
     7Ticket = submitted bug or idea. For example jhusak submitted ticket:1 for putting ASMA in the SVN, and pfusik did it.
    88
    99== Language ==
    1010
    11 Make sure Trac interface is in English. Polish translation is incomplete.
     11Ensure the Trac interface is in English. The Polish translation is incomplete.
    1212
    13 On the top, click Preferences, Language, English (United States), and save your changes.
     13Click Preferences, Language, English (United States) on the top, and save your changes.
    1414
    1515== Trac navigation ==
     
    2929== SVN Basics ==
    3030
    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).
     31SVN (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).
    3232
    3333As you can see in the Browse Source tab, there are three top directories in SVN:
     
    3636 * 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)
    3737
    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:
     38Every update to SVN is registered in its history, which you see in Timeline. A write is a "changeset". A changeset has the following attributes:
    3939 * ordinal number
    4040 * author's login
     
    5454== Getting a local copy of SVN ==
    5555
    56 Create an ordinary empty directory on your disk containing your SVN copy. 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:
     56First, create an empty directory on your disk containing your SVN copy. 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:
    5757{{{svn://asma.scene.pl/asma/trunk}}}
    5858Make sure that the checkout directory is exactly your empty directory. Click OK and wait for the download.
    5959
    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).
     60The 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).
    6161
    6262== Basic SVN commands ==
    6363
    64 Right-click on your directory gives you the following commands:
     64Right-clicking on your directory gives you the following commands:
    6565 * SVN Update - download new changes if someone made them
    6666 * SVN Show Log - history (like Trac's Timeline, but limited to SVN changes)
    67  * SVN Commit - upload your local changes; this may block if someone made changes to the same file as you - in this case do SVN Update and resolve the conflicts (more info on demand: '''pfusik''')
     67 * SVN Commit - upload your local changes; this may block if someone made changes to the same file as you - in this case, do SVN Update and resolve the conflicts (more info on demand: '''pfusik''')
    6868 * SVN Revert - reverts your local changes, replacing the files with their SVN version '''(cannot be undone, use with care!)'''
    6969
     
    7272== Making changes ==
    7373
    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 change description in the top edit box (the description is important so 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.
     74The easiest change is to modify a file that is already in SVN. Modify the file as you normally do, e.g., edit text files in Notepad. Next, choose SVN Commit. It will display the list of modified files. Enter the change description in the top edit box (the description is essential so 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.
    7575
    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.
     76To add a file, put it in the directory, right-click it, and select "TortoiseSVN / Add". The file will be sent to the server only after you select "SVN Commit", as described above.
    7777
    78 To delete a file '''don't just delete it'''. Instead, TortoiseSVN / Delete, then SVN Commit.
     78To delete a file '''don't just delete it'''. Instead use "TortoiseSVN / Delete", then "SVN Commit".
    7979
    8080To rename a file, TortoiseSVN / Rename, then SVN Commit.
    8181
    82 To copy or move a file, drag it '''with the right button''' - a menu will appear with options to SVN Move or Copy versioned items and optionally rename. '''Make sure to use SVN commands, not plain Windows move/copy! ''' Then SVN Commit.
     82To copy or move a file, drag it '''with the right mouse-button''' - a menu will appear with options to SVN Move or Copy versioned items and optionally rename. '''Make sure to use SVN commands, not plain Windows move/copy! ''' Then SVN Commit.
    8383
    8484Only SVN Commit sends your changes to the server. The other operations work locally on your computer.
    8585
    86 I think that's enough for the beginning. Any questions?
    87 
    8886== Viewing changes ==
    8987
    90 Install TortoiseSvnDiff. It is optional but strongly recommended.
     88Install the [wiki:TortoiseSvnDiff]. It is optional but strongly recommended.