Difference between revisions of "Svn rules - OOP344 20111"
(→Import) |
(→fix font editing) |
||
Line 55: | Line 55: | ||
==== Import ==== | ==== Import ==== | ||
* Copies local file/directories to a repository | * Copies local file/directories to a repository | ||
− | = Resources == | + | == Resources == |
* [http://subversion.tigris.org/ Subversion (SVN)] | * [http://subversion.tigris.org/ Subversion (SVN)] |
Latest revision as of 11:29, 14 January 2011
OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources
Contents
SVN
Standard Directories
Branches
Email ID 1
Backspace bug
Right key
wliang11
Fix Segmentation Fault at exit
Email ID 3
- Create home directories for team members using your Seneca email ID
- Under each home directory, there will be several directories for tasks being done on the project
- These directories are copies of trunk for different goals
Tags
- Tags are snapshots of successful stages of the project
- Each tag is called a release
- Each tag is a copy of trunk
- Each tag also should hold one directory called submission logs
- In submission logs each student will have a file named as "emailid.txt"
prj0.1
prj0.12
Trunk
- Holds the current status of the project
- Latest compiled and working version of the project
- Should always be able to compile
How to work with trunk
- In your team page you have a trunk status section
- In your trunk status section you have two major information
- 1- Status of the trunk (committed, committing)
- 2- The identity of the person who did commit or is committing
- Before committing or merging your code to trunk, make sure your version is compiled and working
- Update your trunk to make sure it has all the changes, others made
- Make sure the status is NOT committing; if it is, wait for it to be changed to committed
- If status is committed, change it to committing and update the identity part with your information
- Start merging your changes to trunk
- Resolve possible conflicts
- Compile again to make sure everything is ok
- Do the final commit
- Change the status to committed
Important commands
Checkout
- Is the first thing you do to get a copy of the repository
Add
- It is to mark a new file or directory (be selective) to be added to the repository at next commit
Update
- Is to bring changes from the repository to your local copy
Export
- Is to get a non-versioned copy of part or whole repository
Import
- Copies local file/directories to a repository