C++ Reference Material for CSCI 2341 and CSCI
2342
Subversion How-To
svn --version svnadmin --version
svnadmin create /account_path/account/svn-repos
MyProject
, containing just "minimal" content (basic VS
config files, utilities package files, and source code files).MyProject
folder and choose TortoiseSVN | Import
...
svn+ssh://account@cs.smu.ca/account_path/account/svn-repos/project-name/trunk
MyProjectSMU
. Then right-click on this folder and choose
Svn Checkout ...
, enter your password, and you should get
a report saying you are at revision 1 (you again may have to repeat
this a couple of times). At this point you can delete the original
MyProject
folder on your Windows machine and work away in
the MyProjectSMU
folder, making changes that will later be
uploaded to the repository as well.MyProjectSMU
folder and this time choose SVN Commit
...
, after which you will be presented with a window showing the
files you have changed with a checked box next to them. If you just
want to commit those changes to the repository, click OK, enter your
password when prompted, and click OK (possible repetition required here
again). If you created some new files in this working directory, you
will also see those listed, with an unchecked box next to each one. If
you want to commit one or more of those files to the repository, simply
check the appropriate box(es) before completing the commit action.TortoiseSVN
installed on a Windows
machine, you can perform a "checkout" of the project from the
repository. To do this, first create a directory where you want to
work, say MyProjectHome
, then right-click on this
directory, choose SVN Checkout ...
, enter the required
information (from the above discussion it should be clear what this
information should be) and click OK. Your project files should then be
downloaded and placed in the directory you have chosen. After working
on the files for a while, you should not forget to commit your latest
changes back up to the repository.