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: Andrew Carter <email@hidden>
- Date: Thu, 16 Mar 2006 18:20:38 -0500
FYI -- in subversion, there is a command to switch the repository
location -- svn switch. No real need to do the hosts trick if you
use svn.
Andrew
On Mar 16, 2006, at 8:36 AM, Jeff DuMonthier wrote:
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:
40midnightwalrus.com
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:
40inquirix.com
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