Follow these simple steps to version control your class projects using subversion on Oscar. You must have subversion and ssh installed on your personal system. These instructions are for linux/Mac systems only.
> ssh user@oscar.cs.uic.edu > svnadmin create --fs-type fsfs ./svn > pwd mnt_nfs/home3/grad3/spopuri/
> exit # log out of oscar > mkdir cache/ # make the project directory > svn import cache/ svn+ssh://user@oscar.cs.uic.edu/mnt_nfs/home3/grad3/spopuri/svn/cache/ -m 'Initial import'
> rm -rf cache/ # remove the local copy > svn checkout svn+ssh://user@oscar.cs.uic.edu/mnt_nfs/home3/grad3/user/svn/cache/
> svn add sourcefile.cppFrom time to time commit your changes to the repository:
> svn commit -m 'these are the changes in this commit'There are many things you can do with subversion. Finding the diffs since my last commit is what I find most useful. For this just do
> svn diffinside your project directory. You can also retrieve old versions and do some other useful tricks (see references below).
> ssh user@oscar.cs.uic.edu # log on to oscar > svn export file:///mnt_nfs/home3/grad3/user/svn/cache/ # export a clean directory tree > turnin -v -ccs485 -pcache cache/ > exit # log out of oscar.The export step creates a clean directory with the latest files without any version information (this directory is hence NOT a working copy).