Open main menu

CDOT Wiki β

Changes

Hints for Using SVN to collaborate on school projects

359 bytes added, 19:33, 27 September 2010
Preparing Branches/workspace for development
# Create a directory with your seneca-id in branches and '''add''' it to the repository and then '''commit''' branches to update the repository server.
# Right click on the trunk and select '''...SVN/"Branch/Tag"''' to create a branch for your next task
#:* By doing this you will create your first workspace to start implementation in the project. Fore next step, choose a a relevant name for this direcotrythe task assigned to you, for example if your project is writing a text editor an your next task is to implement "Copy And Past" feature, then the proper name would something like: "CopyPaste" #:* In "To URL" type or select your home dir in the branches dir, then add "/CopyPaste" to it: (svn://RepoUrlAndPath/branches/yourSenecaid/CopyPaste" )
#:* Select HEAD revision or a specific revision if necessary (mostly head revision applies in our case)
#:* Add a proper message for others to know what you have done
#:* Click on OK
#: This copies the trunk into a branch so you can start your implementation, but note that this action is done on '''server''' and your local copy of repository still remains the same.
# Right click on '''branches''' and click '''SVN update''', this willbring the new branch to your machine.You can now start implementing your assigned tasks. Unlike trunk, since this is YOUR workspace you can leave it an any stage you like. don't forget to comment every and each of your '''commit'''s so later you know which commit belongs to what and also helps your prof to mark your.  '''If