CvsBasics
last edited February 7, 2008 23:02:22 (69.204.244.60)
| |
|---|---|
| Edit / History / New / Search | Quick Links: Home / Recent Changes / Glossary / Jobs / Forums / Help |
|
CocoaGlossary:Tools
VersionControl
What is CVS? CVS is the Concurrent Versioning System, a system that is used to log changes to software projects. This is an important safety measure when collaborating on large projects, but it's also useful for lone developers, because, among many other things, it allows you at any time to go back to the source code of any previous version, which can be a life-saver sometimes. The CVS homepage is at: http://www.cvshome.org/ How do I use CVS? This page will not give an all-purpose CVS Introduction but rather show how ProjectBuilder integrates CVS support and how to uses that integration. If you've never heard of CVS before, or are unsure just how it works, we recommend the following links to get you started:
O'Reilly MacDevCenter Articles:
Also, _Open Source Development With CVS_ by Fogel is a great introductory book. Some of its content is available online here: http://cvsbook.red-bean.com/cvsbook.html Additional Software: There is an open-souce frontend to CVS that is independent from ProjectBuilder. It's called CVL and has its own homepage here: http://www.sente.ch/software/cvl/ And there's some others : MacCVSClient? : http://www.heilancoo.net/MacCVSClient LinCVS? : http://www.lincvs.org/ (cross-platform and very complete) Using CVS with ProjectBuilder ProjectBuilder offers a feature called SCM (Source Code Management) which right now is just a more user-friendly front-end for the CVS command-line tool. It allows you to perform common CVS functions such as updates, compares, and commits, right from the IDE. In order to use SCM, your code must already be checked out from a CVS repository. That is to say, it must have a "CVS" directory at the top of each directory in the project. If it doesn't, see SettingUpCvsRepositories. If your project meets this criterion, ProjectBuilder will display a new column in the Files tab with an icon of a yellow cylinder. This is the SCM / CVS column. It tells you the state of each file in relation to the current copy in the repository. An M in this column indicates that the file has been modified from the copy in the repository. A ? indicates an unknown file (one that is not in the repository, and may need to be added). No mark in this column indicates that the file is in sync with the copy in the repository. CVS operations can be performed by ProjectBuilder either on an individual file basis, or a group of files at a time. You can select any combination of files or groups to apply your CVS command to. The options in ProjectBuilder's SCM menu are:
More description forthcoming. See CvsWrappers for information about storing binary files in CVS. But don't use the tar wrappers. They only exist for one version of CVS, and if you end up using someone else's repository (like SourceForge), it just Won't Work. Just add the nib or project directory and add the files contained therein. A great article on SVN in xcode 3 http://meandmarkpublishing.blogspot.com/2008/01/xcode-3-feature-version-control.html | |
| Edit / History / New / Search | Quick Links: Home / Recent Changes / Glossary / Jobs / Forums / Help |