Changes

Jump to: navigation, search

Hints for Using SVN to collaborate on school projects

1 byte added, 15:05, 27 September 2011
Start the project by continuing an existing work
# Right click on trunk and select '''SVN Commit''' to commit your work to repository server.
=== Start the project by continuing an existing work ===
For this To continue an existing work, you should have a '''non-versioned''' copy of the basic framework initial code for the your project to initiate it. Then you You should copy the framework this code into the trunk, '''add''' and '''commit'''it. This is how it is done: # Copy These are the basic framework into trunk of your repository#steps: 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.
# Copy the initial code into the trunk of your repository
#: If the code is available in another repository (say RepoSrc), '''export''' from RepoSrc into trunk of your repository (say RepoDest)
#:# '''update''' RepoSrc to make sure that it is in sync with the server.
#:# Right click on the directory with the initial code in RepoSrc and select "...SVN/export".
#:# Select the trunk of RepoDest and click OK
#:#: This will create a "non-version-controlled" copy of the initial code in RepoDest/trunk
# Do any modification needed to make the initial code ready for work
# Right click on RepoDest/trunk and select '''Add'''. Then choose the files that you want to be "versioned"
# Finally, '''Commit''' the trunk to copy the files to the SVN server.
== Preparing Branches/workspace for development ==

Navigation menu