>Create
a new folder to contain the SVN repository where all source
versions are stored. If
you are
versioning several projects, you might wish to create a separate folder
for
each.
RightClick on the folders and select TortoiseSVN
/
Create repository here
When
the “Repository created” dialog appears, click:
Create
folder structure:
Steps
to create the SVN controlled directory for your source files:
Create
a new directory or select an empty existing Folder, Rightclick
the folder and select: SVN
Checkout ...
Select the matching repository folder and click: OK
You are now ready to copy sourcefiles into the Source
directory or
create your programsources in it.
Manually adding
and committing sourcefiles.
Rightclick the files, or the entire folder, and select TortoiseSVN\Add
to start the versioning for the file(s).
To commit your changes to the SVN repository you
RightMouseClick on the
file and select: SVN
Commit ...and clickOK
Using
SciTE4AutoIt3 menus/keyboard shortcuts and AutoIt3Wrapper
directives for adding, committing, and seeing the differences between
source versions.
Notes:
Make
sure the Versioning tools within SciTE are activated – open SciTEConfig
and check on the <Tools Selection> tab that they are.
The
first time you use a Versioning tool you will be prompted for
thelocation of SVN.exe if it is not found in the default TortoiseSN
directory.
SciTE4AutoIt3
Menu items and Keyboard shortcuts:
<Version
Update Source> / F12
- Commit the current file in SciTE. The file needs to be in a Source
folder (see above for details of how to create such a folder). If the
files has not previously been versioned it will be automatically Added
to the Repository.
<Version
Diff Source> /Alt+F12
- Retrieve the last committed source from the repository and run
WinMerge to show changes between it and the current file.
AutoIt3Wrapper
Directives:
Adding
these directives to your script and then compiling will prompt you to
increase the version number and to add comments before committing the
source file to the repository:
Tutorials for
those using Versioning for the first time.