intro-to-cvs - Introduction to CVS Portions adapted from A...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Introduction to CVS Portions adapted from A Visual Guide to Version Control Outline Introduction to Source Code Management & CVS CVS Terminology & Setup Basic commands Checkout, Add, Commit, Diff, Update, Remove, Log, Revert Other CVS items of interest Handling conflicts Ignoring certain resources Creating your own repositories Adding modules to a repository Popular clients TortoiseCVS Eclipse UNIX shell over SSH What is Source Code Management A source code management (SCM) system handles the management of revisions of resources Typically, though not always source code So, why should you use one? The Ill Roll My Own Approach Youve probably seen (or perhaps created) messes like this So, what exactly is in Foo.java.bak.bak? [Dan@icarus grocery-list]$ ls Foo* Foo.java Foo.java.DAN Foo.java.bak.bak Foo.java.1030am Foo.java.Sep-2-1030am Foo.java.old Foo.java.10am Foo.java.WORKING_AS_OF_11am Foo.java.BROKEN Foo.java.bak [Dan@icarus grocery-list]$ The Shared Drive Approach Cant we just write to a directory on the shared drive? Wheres the eggs developer A added? Problem gets worse as number of developers grows Developer A Developer B Milk Milk Juice Milk Eggs Milk Milk Juice Milk Milk Eggs open open save save Use in Industry Many development shops make use of some type of SCM system where there is a need for more discipline and management of source code Can you check to see if class Foo exhibits a particular bug in that release A.B.C from last spring, we made for customer X, for Linux, specifically the i686 build, and if so, what other releases are also affected? Though there are many different SCM systems out there, the concepts remain pretty similar CVS, Subversion, Git, ClearCase, SourceSafe, etc What is CVS? Concurrent Versioning System (CVS) is one of the earlier SCM systems which gained wide adoption Open source Easy to install and use Simple command line client Wide integration in a lot of development tools For good introduction on version control and CVS see the following book Pragmatic Version Control using CVS CVS Terminology Repository the place where resources are stored Server the computer hosting the repository Client the computer connecting to the repository Working Set/Copy your local copy of resources housed in the repository CVS Terminology Checkout pull down resources from the repository and create a working copy Checkin/Commit place resources from your working copy into the repository Add place a resource under version control Remove delete a resource from version control Update pull down changes from the repository into your working copy Revert overwrite resources in your working copy with what is in the repository CVS Setup The following setup/examples assume that you are using a standard CVS command line client...
View Full Document

This note was uploaded on 02/12/2012 for the course ECON 101 taught by Professor Xx during the Spring '11 term at Boston Architectural.

Page1 / 70

intro-to-cvs - Introduction to CVS Portions adapted from A...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online