Académique Documents
Professionnel Documents
Culture Documents
Shafqat Ahmed
Objectives
• Versioning
• Also known as
– Source Code Control
– Version Control
– Source Code Management (SCM)
• Versioning
• Code Synchronization
• Have latest files
• Team work
• Conflict Resolution
• Branch Out
• Disconnected work mode
• Revert
• Problem solving by version comparison
Concepts Related to Revision
Control
• Baseline / Trunk / • Code Freeze
Mainline • Label / Tag /
• Version / Revision Checkpoint
• Change / Diff / Delta • Repository
• Checkout / Update • Conflict
• Check In / Commit • Branch / Codebase
• Lock • Merge
• Change list / Change • Resolve
Set • Working copy
• Atomic Commit • Latest Version
Issues faced when using Revision
Control
• Conflict
• Difference in concept between systems
• Merging branches
• Storage
• Connectivity
• Working folder
• Revision Control System Bugs
• Code Overwrite
• Code Merge
Different Revision Control Systems
• CVS
• Subversion
• Visual Studio Team System
• Visual Source Safe
• Borland Star Team
• Perforce
• Git
• Vault
• Many more …
Star Team as Version Control System
• Introduction • Queries
• Storage • Revisit the SCM
• Client concept screen with
• Automation with
ST
SDK
• Access Control
• Issue Management
• Check in enforcements
• Workflow
• View back in time
• Custom Fields
• No Atomic Commit
• Filters
• Views • Known Bugs and
Best Practices
(Some are only specific for Star Team and our development process,
otherwise not needed)
• Keep your code latest
• Commit Regularly to avoid conflicts
• Commit Atomic
• Make sure Code is Compiling
• In case of Star Team keep two folders, one for Star
Team another for work and manually sync
• Label frequently
• Branch out only when necessary
• Recheck before check in
• Observe what files were merged when updating
• Observe for files that are out of the versioning
System
Best Practices (Continued …)