Presentation is loading. Please wait.

Presentation is loading. Please wait.

Source Code Control Systems

Similar presentations


Presentation on theme: "Source Code Control Systems"— Presentation transcript:

1 Source Code Control Systems
Jaap Akkerhuis

2 SCCS Why How RCS CVS More and more

3 Why Version Control Software Engineering Auditing capabilaties
Change tracking Undo mistakes

4 Method Archive (per file) Deltas between versions
Delta's upon a complete version (SCCS) Last version complete (RCS), delta's with previous Branching, merging for software Engineering

5 RCS intro Archive with extension ,v In sub directory RCS (if exists)
Commands asks descriptive text comments for changes

6 RCS: ci & co CI: Checks a file in an archive
removes file first time aks description CO: Checks a file out an archive file mode Read Only CO -l check out and locks file (RW) CI -u Updates archive leaves file RO

7 Combined actions ci -l rcsdiff -v1.1 -v1.9 ci -u; co -l
compares version co -v1.1 > 1; co -v1.9 > 9; diff 1 9; rm 1 9

8 Auditing Comments in Archive rlog pokes in archive
RCS keywords in binary $Log$ TLD IN TXT "tld zone version $Log$ Ident for binaries Locks changes by other users

9 CVS Based on RCS Optimistic concurrency model Remote access
Shell scripts by Dick Grune Optimistic concurrency model users seldom hack the same concurrently Remote access Keeps removed files in attic allows going back in time

10 CVS repository Central archive for project Check out a whole project
cvs checkout make changes commit changes merges files and changes notifies for conflicting merges

11 Further googling www.cvshome.org subversion
tons of commercial software

12 Questions ???


Download ppt "Source Code Control Systems"

Similar presentations


Ads by Google