Directions for Subversion ========================= Checkout a folder: - svn checkout example: svn checkout file:///comp/190/public_html/GroupWorkAreas/g1/svn/repository/test testworking Update your working folder to the lastest code online: - svn update simply run this command once you're in the working folder (the one you checked out earlier) Commit a working folder to the repository: - svn commit -m example: svn commit testworking -m "Updated files" note: commit requires a message, unless the SVN_EDITOR variable is set Status of a working folder: - svn status example: svn status testworking note: check svn help for list of flags... M = modified, A = added ? = item is not under version control this will return nothing if the working folder is identical to version in repository note that you probably need to do a "svn add" if you are seeing alot of ?'s Add file/folder in working folder to version control - svn add example svn add testworking/newfile.txt note: this will just regester the file/folder for addition, it will be added to repository on next commit Delete file/folder from version control - svn delete example svn delete testworking/newfile.txt note: this will just regester the file/folder for deletion, it will be deleted from repository on next commit Less common commands: ========================= Create repository: - svnadmin create --fs-type fsfs example: svnadmin create repository --fs-type fsfs Import new directory into repository: - svn import -m example: svn import test/ file:///comp/190/public_html/GroupWorkAreas/g1/svn/repository/test -m "Initial Import" note: import requires a message, unless the SVN_EDITOR variable is set