21
edits
Changes
→Starting the Project On SVN
#: This is when you have the project started by someone else (i.e. Professor, other team-members, etc.) and you want to copy the work into your own repository and continue the work.
=== Start the Project from zero ===
For this you should create the basic framework of your project in trunk, and '''Add''' and '''Commit''' it. Then branch it into the proper workspace in your home directory in '''branches'''. Finally you should '''update''', so the new branch is added to your copy of the repository on your machine. This is how you do this:
# '''checkout''' the project repository in a new directory on your computer;
# 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:
# Copy the basic framework into trunk of your repository
#: If the basic framework in provided in another repository (namely RepA) , you should copy it by '''export'''ing it into trunk of your repository (namely RepB)
#:# '''update''' RepA to make sure it is in sync with the server.
#:# Right click on direcotry with the basic framework is provided in RepA and select "...SVN/export".
#:# Select the trunk of RepB and click OK
#:#: This will create a "non-version-controlled" copy of the basic framework in RepB/trunk
# Do any modification needed to make the framework ready for work
# Right click on RepB/trunk and select '''Add''' and choose the files needed to be "versioned"
# '''Commit''' The trunk to copy the files to the server.
Then branch it into the proper workspace in your home directory in '''branches'''. Finally you should '''update''', so the new branch is added to your copy of the repository on your machine.
# 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.