Re: Can't change Xcode project's CVS repository
Re: Can't change Xcode project's CVS repository
- Subject: Re: Can't change Xcode project's CVS repository
- From: Jeff DuMonthier <email@hidden>
- Date: Thu, 16 Mar 2006 08:36:12 -0500
I created an entry in my /etc/hosts file called 'usercvshost' and set
it to the IP address of whatever machine my CVS repository is on. On
the machine with the repository there is an account with the user name
name 'cvsuser', and a a symbolic link at the root level named
'userCVSRoot' to where the repository actually is. In my .cshrc file
(using tcsh) I added the following:
setenv CVSROOT :ext:cvsuser@usercvshost:/userCVSRoot
setenv CVS_RSH ssh
The equivalent for subversion is:
setenv SVNROOT svn+ssh://svnuser@usersvnhost/userSVNRoot
If the IP address changes or I move the repository to a different
machine (using the same user and link names), all I need to do is
update the IP address in /etc/hosts. I would suggest setting up
something like that using symbolic names instead of hard coded IP
addresses and checking the code out again. Otherwise this is going to
be a recurring problem.
On Mar 16, 2006, at 12:20 AM, Tron Thomas wrote:
I was using the IP address to specify the location of the CVS server
for my home network. My router has the habit of changing the IP
addresses for my systems, and recently the computer that serves CVS
received a new IP address.
The effect of this is that when I open an Xcode project that is
configured to use CVS, my iBook complains that it cannot access the
repository. How am I supposed to change the location of the
repository in my Xcode project so it will access the CVS server at the
proper IP address?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden