1 / 12

Source Code Control Systems

Source Code Control Systems. Jaap Akkerhuis jaap@nlnetlabs.nl. SCCS. Why How RCS CVS More and more. Why Version Control. Software Engineering Auditing capabilaties Change tracking Undo mistakes. Method. Archive (per file) Deltas between versions

uma
Télécharger la présentation

Source Code Control Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Source Code Control Systems Jaap Akkerhuis jaap@nlnetlabs.nl

  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 • ci -u; co -l • rcsdiff -v1.1 -v1.9 • 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 • 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 ???

More Related