Changes

Jump to: navigation, search

Hints for Using SVN to collaborate on school projects

9 bytes removed, 16:52, 27 September 2011
Preparing Branches/workspace for development
# Finally, '''Commit''' the trunk to copy the files to the SVN server.
== Preparing Branches/workspace Your Own Workspace for development Development ==For this you should create Create a home direcotry directory in '''branches''' for your development in branches using and name that directory with your seneca-id. Then your should '''branch ''' the trunk into the proper workspace in your home directory in under '''branches'''. Finally you should '''update'''your workspace, so that the new workspace code is added to your copy of the repository on your machine. Here is howThese are the detailed steps:
# Create a directory in '''branches''' and name it with your seneca-id in branches and # '''add''' it the directory 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 This will create your first workspace to start implementation in the project. Fore next step, choose Choose a relevant name for the your assigned task assigned to you, for . For example if your project is writing a text editor an and your next task is to implement "Copy And PastPaste" feature, then the proper a suitable name would something likebe: "CopyPaste" #:* In "To URL" type or select your home dir sub-directory in the '''branches dir, then ''' directory and 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 descriptive message for to inform others to know about what you have done
#:* Click on OK
#: This copies the trunk into a branch so you can start your own implementation, but note that this . This action is done on '''server''' and your local copy of the repository still remains the sameunchanged.# Right click on '''branches''' and click '''SVN update''', this . This will bring download the new branch to your local machine. 
== working on your branch/workspace ==
* You can now start implementing your assigned tasks.

Navigation menu