Coming soon: Apple Event on 9/9 at 10 a.m. PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I get CVS to work under Lion?

I had CVS working fine under Snow Leopard. After upgrading to Lion, I re-installed Xcode (version 4.1) but CVS doesn't seem to come with it - unless I am missing something. How do I get basic CVS commands working again?


Thanks

Mac OS X (10.7)

Posted on Jul 21, 2011 9:56 PM

Reply
13 replies

Jul 22, 2011 1:47 PM in response to SRINATHSADDA

My bad.


Seems like XCode 4.1 does, in fact, contain CVS - it just wasn't fully installed (the installation hanged at the end). Following the advice of some blog, I re-installed it manually (by going to the package's contents and clicking on Xcode.mpkg) and this brought back CVS.


Hope that helps people with the same problem in the future.


In any case, thanks to meraTechStuff!

Oct 7, 2011 2:29 AM in response to cionzo

There is a workaround how to get cvs without all unneeded stuff from xcode. I used it and I have what I need.


1. Install Xcode. Doesn't matter which version. You don't need to download 4.1 form App Store. You can use Xcode package from Snow Leopard instalation disk. It is much smaller than 4.1.


2. Copy cvs file to one of our folder in including path (in. ex. /usr/bin):

bash$ sudo cp /Developer/usr/bin/cvs /usr/bin


3. Remove Xcode:

bash$ sudo /Developer/Library/uninstall-devtools --mode=all


After all we can use cvs from the command line as usual and many gigabytes free. Of course setting CVSROOT env variable will be very helpful, but I'm sure everyone knows how to use cvs.

Oct 21, 2013 9:46 AM in response to snazawa

After reading a dozen posts about this issue, I found that the latest version of Command Line Tools that is available through Xcode 5 (with a release date of Sep 18, 2013) does not include CVS. I had to go all the way back to the Command Line Tools from Xcode 4.3 (release date of Aug 7, 2012) in order to get the cvs executable. It is CVS 1.11.23 (latest available) and the executable is installed into /usr/bin/cvs by the Command Line Tools installer. I found it at https://developer.apple.com/downloads/index.action?name=for%20Xcode%20-#


Ironically I needed this so I can use Git locally and have it automatically do a CVS export when I push commits to the Git repository (develop or master branch) since my company is still using CVS (something I'm hoping to change soon).

How do I get CVS to work under Lion?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.