This is a team assignment. Turn in (via SVN commit) a {teamname}/doc/384-hw1.html that summarizes your activities, including a list of individuals' and subteams' tasks and outcomes. (It is sufficient to record DONE when the outcome is 100%).
Do the following exercises, culminating in setting up our initial SVN repository for our project work.
cd ~ svnadmin create 384 du 384Note the number reported by "du 384". Approximately how many kbytes does an empty SVN repository occupy? "Empty" repository is kinda big, but no big deal.
svn mkdir file:///net/ugrads/yourid/384/yourproj svn import file:///net/ugrads/yourid/384/yourprojThis will create a copy of your whole directory and any subdirectories, inside the repository. Note that you should make sure you don't have any junk files (.o, .class, .u, etc.) before doing an import. Note that at this step and many later steps, depending on your executing shell and environment, you may get an editor popping up asking for a comment to explain what you are doing, or an error message if svn can't tell what editor to launch. A -m followed by a message in quotes is an alternative way to supply the log with a record of what you were doing. See the example "svn commit" below for an example of using -m.
mkdir ~/test384 cd ~/test384 svn checkout file:///net/ugrads/yourid/384This will create a subdirectory under test384, named yourproj, that contains your distribution copy. cd into yourproj/ and "make" the program there. Edit the program (add a std:cout << "hello svn" to its main() function), save your change, and type
svn diff main.icn svn update main.icn svn commit -m "added hello" main.icn
groupsto verify that you are a member of group cs384_svn (you should be already) along with your other groups (group ugrads, etc).
Local |
cd svn checkout file:///usr/local/repos/cs384_svn_s12/teamname |
---|---|
Remote |
The following worked for me but may need to be tailored to your environment!
cd svn checkout svn+ssh://username@wormulon.cs.uidaho.edu/usr/local/repos/cs384_svn_s12/teamnameWindows: you may have to follow these instructions to tell ssh about a non-default shh tunneler such as plink.exe or ssh2.exe |
char * credits[] = { "your name", "your teammates' name", };with all team members' names in alphabetical order.