Re: Easy way to deal with multiple CVS repositories?
Re: Easy way to deal with multiple CVS repositories?
- Subject: Re: Easy way to deal with multiple CVS repositories?
- From: Rob Lockstone <email@hidden>
- Date: Sun, 11 Jan 2004 16:29:48 -0800
Great! Yes, adding CVSROOT in the "Styles" tab of the project (Get Info
on the project) does work. I'm not sure it would work on a per target
basis since Xcode (I believe) establishes the CVS connection when the
project is opened. But that does not concern me. Being able to set it
on a per project basis is exactly what I wanted. And setting it in the
(perhaps mis-named?) "Styles" tab does the trick. Thanks!
Rob
On Jan 11, 2004, at 15:52, Kevin Grant wrote:
I hope I'm missing something obvious, but is there an easy way to
deal with multiple CVS repositories within Xcode? From the command
line, you can use the -d option to specify a different CVSROOT. But I
don't see any way to do it in Xcode. Ideally, I'd like to be able to
set a different CVSROOT on a per project basis, e.g. the Get Info on
a project has an option for choosing the type of SCM access (CVS or
Perforce), but no mechanism that I can see for specifying the
CVSROOT.
Am I missing something obvious (or not so obvious) somewhere? Or
should I file this as a feature request?
The CVS root is just an environment variable "CVSROOT" whose value is
a pathname. I believe any name-value pair in an Xcode inspector sets
an environment by default; so you should be able to (for example) open
up the inspector for any target or project, and under the Styles tab
[if a project] or Build tab [if a target], add a CVSROOT list item
whose value is the appropriate CVS repository path.
Of course, I have never tried this... :)
Kevin G.
http://homepage.mac.com/kmg/
mail to kevin at ieee dot org
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.