Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

A step by step guide to using CVS UNIX
I've found an article on developer.apple.com, with step-by-step instructions on enabling and using CVS (Concurrent Versioning System) on OS X.

If you use CVS and need a GUI for the UNIX environment, consider using CVL (Concurrent Versions Librarian), a free Cococa configuration management tool for CVS.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[11,047 views]  

A step by step guide to using CVS | 13 comments | Create New Account
Click here to return to the 'A step by step guide to using CVS' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A step by step guide to using CVS
Authored by: vorovsky on Dec 19, '03 04:06:17PM

I've been using MacCVSX for a few months now with good results. I also used WinCVS on my PC before I got my mac, both excellent programs. http://www.wincvs.org/



[ Reply to This | # ]
BBEdit 7.1.1 User Manual
Authored by: masolino on Dec 22, '03 08:13:04AM

From BBEdit 7.1.1 User Manual page 263, Working with CVS...

The below article on Apple's web site provides a general overview of using CVS with Mac OS X; for more details, you should consult your local CVS guru as necessary.

Mac OS X: Version Control with CVS

http://developer.apple.com/internet/macosx/cvsoverview.html



[ Reply to This | # ]
A step by step guide to using CVS
Authored by: bat, blind as a on Dec 19, '03 05:04:51PM
Users of BBEdit 7 may also want to look at http://www.macworld.com/2003/09/secrets/bbeditversioncontrol/

[ Reply to This | # ]
Xcode?
Authored by: Brian Kendig on Dec 19, '03 05:28:21PM

Problem is, there's no information on how to get Xcode to handle CVS for a project. I've set up one of my projects to have the code changes maintained in CVS, but Xcode doesn't seem to notice, and doesn't do anything differently than when I'm working on a project that's not in CVS.



[ Reply to This | # ]
Xcode?
Authored by: stetner on Dec 19, '03 05:54:50PM

Here is what I usually do:

1) fire up xcode, start a project add files etc.
2) quit xcode
3) import the code into CVS in the terminal
4) remove the directory (or rename it)
5) check out your code
6) fire up xcode and open the project in the new checked out directory and xcode will notice the CVS stuff.

After that you can add files to the repository, and do most other things through xcode. It just needs the first setup of CVS done outside itself.

Hope this helps.



[ Reply to This | # ]
Xcode?
Authored by: tf23 on Dec 23, '03 10:30:02AM

Where there any special xcode binary filetypes that you had to add to your cvsrep?

I'm brand new to using Xcode (and OSX) but not new to CVS.

Thanks!



[ Reply to This | # ]
Xcode?
Authored by: Telluride on May 12, '04 02:21:44PM

No...still doesnt work. Xcode just pretends like CVS doesnt exist for some reason.

I'm fairly sure its all setup correctly (i followed several different panther setup guides word for word)

ARGG this is frustrating. I can check in/out manually just fine, but XCode still has almost all the SCM options greyed out.



[ Reply to This | # ]
Xcode?
Authored by: ssahuc on Dec 19, '03 06:07:57PM

All you need to do is commit the project.xcode dir of your project created by XCode into CVS. It will then recognize the project being CVS enabled. You'll have to enable the cvs option in the Project Info panel if necessary.



[ Reply to This | # ]
A step by step guide to using CVS
Authored by: Elroy on Dec 20, '03 03:34:57AM

as recently mentioned on slashdot, setting up cvs on your own machine and using a tool like CVL is a great way to do backup for small files (say, some parts of your home directory -- maybe your preferences directory?)

you can check out the "project" as it was on any date.

you can also use it to "synchronize" settings between multiple systems by checking out the same settings to both...

just try to avoid large binary files, as the diffs will take a while.

-m



[ Reply to This | # ]
A step by step guide to using CVS
Authored by: strale on Dec 21, '03 12:33:35PM

>you can check out the "project" as it was on any date.
No, you can't with cvs - Versions are per-file not per-commit, but Subversion can (or will).

>just try to avoid large binary files, as the diffs will take a while.
cvs doesn't diff binary files, but avoiding binary files in cvs is always a good idea.



[ Reply to This | # ]
A step by step guide to using CVS
Authored by: kps on Dec 21, '03 01:29:31PM
Yes, CVS version numbers are per file – use cvs tag for project versions – but it records the time of each commit operation, so you can indeed extract the state at a given time, e.g. cvs checkout -D date project

[ Reply to This | # ]
A step by step guide to using CVS
Authored by: IslandDan on Dec 22, '03 07:50:48AM

While CVL is a great program I use all the time in conjunction with xcode the latest version, 3.0 (v30), is badly broken. Wait until the CVL team gets it fixed.

For binary files there is an option to check them in as binary with cvs so that diffs will not be done.



[ Reply to This | # ]
A step by step guide to using CVS
Authored by: heliosnorf on Apr 24, '04 01:20:21PM

I have lots of strange problems with XCode not showing files begin in CVS even though I *know* that they are. Especially when choosing the "Show SCM" option from the SCM menu - it only shows some of my source files even though I know they're all in CVS.

Any ideas as to why that might happen?



[ Reply to This | # ]