Changes

Jump to: navigation, search

Hints for Using SVN to collaborate on school projects

977 bytes added, 19:19, 27 September 2010
Starting the Project On SVN
#: Add only those files that should be tracked for modification; "Those need to be version-controlled". Binary and Executable files are usually not added to the repository; Only add them if you know what you are doing.
# Right click on trunk and select '''SVN Commit''' to commit your work to repository server.
# Create a directory with your seneca-id in branches and '''add''' it to the repository and then '''commit''' branches to update the repository server.
=== Start the project by continuing an existing work ===
For this you should have a '''non-versioned''' copy of the basic framework for the project to initiate it. Then you should copy the framework into the trunk, '''add''' and '''commit'''it. This is how it is done:
== Preparing Branches/workspace for developmentFor this you should create a home direcotry for your development in branches using your seneca-id. Then your should branch it the trunk into the proper workspace in your home directory in '''branches'''. Finally you should '''update''', so the new branch workspace is added to your copy of the repository on your machine.Here is how:
# 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.choose a a relevant name for this direcotry, for example if your project is writing a text editor an your next task is 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: (//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 will

Navigation menu