cvs server with different names

2001-03-20 Thread Aaron Lee

Hi CVSusers,

My company is using CVS to do our version control and the current setup
is to have the CVSROOT setup to be like the following (inside the
company intranet):

:pserver:alee@cvsserver:/home/cvs

but when I work from home using DSL I change the Preferences setting to 

:pserver:[EMAIL PROTECTED]:/home/cvs

where xxx.xxx.xxx.xxx is the IP address of cvsserver but wincvs still
remember my old setting and refuse the new CVSROOT. Is there any way to
get around this? Thanks in advance!

-Aaron


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: cvs server with different names

2001-03-20 Thread Aaron Lee

I did, the IP is working and the telnet is working, if you look under
the CVS directory they have 3 files: Root, Entries and Repository. The
Root file actually contains a line saying
:pserver:alee@cvsserver:/home/cvs and I suspect wincvs is using this
line instead of the CVSROOT in the preference setting.
-Aaron

-Original Message-
From: Szabó Tamás [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 11:27 AM
To: Aaron Lee; [EMAIL PROTECTED]
Subject: Re: cvs server with different names


Hi!

> where xxx.xxx.xxx.xxx is the IP address of cvsserver but wincvs still
> remember my old setting and refuse the new CVSROOT. Is there any way
to
> get around this? Thanks in advance!

Try to ping xxx.xxx.xxx.xxx.
Try to telnet to xxx.xxx.xxx.xxx's 2401 port. If this is the port that
it uses.

Can you do this things?

Tamas

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: cvs server with different names

2001-03-20 Thread Szabó Tamás

Hi!

> where xxx.xxx.xxx.xxx is the IP address of cvsserver but wincvs still
> remember my old setting and refuse the new CVSROOT. Is there any way to
> get around this? Thanks in advance!

Try to ping xxx.xxx.xxx.xxx.
Try to telnet to xxx.xxx.xxx.xxx's 2401 port. If this is the port that
it uses.

Can you do this things?

Tamas

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: cvs server with different names

2001-03-20 Thread Szabó Tamás


Yes it does.
You can override that only with the -d global parameter.

In WinCVS 1.2(maybe in earlier releases too I don't know) the .cvsrc
file is supported.
So you had to put in your $HOME directory a file .cvsrc
And write in it:

cvs -d :pserver:[EMAIL PROTECTED]:/path/to/repository

When you are at work simply rename the file.

Tamas



Aaron Lee wrote:
> 
> I did, the IP is working and the telnet is working, if you look under
> the CVS directory they have 3 files: Root, Entries and Repository. The
> Root file actually contains a line saying
> :pserver:alee@cvsserver:/home/cvs and I suspect wincvs is using this
> line instead of the CVSROOT in the preference setting.
> -Aaron
> 
> -Original Message-
> From: Szabó Tamás [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 11:27 AM
> To: Aaron Lee; [EMAIL PROTECTED]
> Subject: Re: cvs server with different names
> 
> Hi!
> 
> > where xxx.xxx.xxx.xxx is the IP address of cvsserver but wincvs still
> > remember my old setting and refuse the new CVSROOT. Is there any way
> to
> > get around this? Thanks in advance!
> 
> Try to ping xxx.xxx.xxx.xxx.
> Try to telnet to xxx.xxx.xxx.xxx's 2401 port. If this is the port that
> it uses.
> 
> Can you do this things?
> 
> Tamas

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: cvs server with different names

2001-03-20 Thread Tony Cleveland


I believe the line in Root takes precedence over whatever CVSROOT is set to.
You can always just add a line to your hosts file for your cvs server so you
can always use the name(vs the ip). The downside you will then be
responsible for maintaining that ip-name mapping if your server ever changes
ip.
-Tony

-Original Message-
From: Aaron Lee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 2:30 PM
To: Szabó Tamás; [EMAIL PROTECTED]
Subject: RE: cvs server with different names


I did, the IP is working and the telnet is working, if you look under
the CVS directory they have 3 files: Root, Entries and Repository. The
Root file actually contains a line saying
:pserver:alee@cvsserver:/home/cvs and I suspect wincvs is using this
line instead of the CVSROOT in the preference setting.
-Aaron

-Original Message-
From: Szabó Tamás [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 11:27 AM
To: Aaron Lee; [EMAIL PROTECTED]
Subject: Re: cvs server with different names


Hi!

> where xxx.xxx.xxx.xxx is the IP address of cvsserver but wincvs still
> remember my old setting and refuse the new CVSROOT. Is there any way
to
> get around this? Thanks in advance!

Try to ping xxx.xxx.xxx.xxx.
Try to telnet to xxx.xxx.xxx.xxx's 2401 port. If this is the port that
it uses.

Can you do this things?

Tamas

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: cvs server with different names

2001-03-20 Thread Dave Strauss

That's exactly what's happening, and it's the way it's supposed to
work.  CVS uses the Root file to find the repository that the files
came from.  If you want to use the same IP address for both locations
just use the "long form" (xxx.xxx.xxx.xxx) in both places.

Alternatively you can change the Root files (a bad idea) or check out a
new copy when you're remote (which probably is not what you want to
do).

-- Dave Strauss


On Tue, 20 Mar 2001 11:30:08 -0800, "Aaron Lee" <[EMAIL PROTECTED]> wrote:
>  
>  I did, the IP is working and the telnet is working, if you look under
>  the CVS directory they have 3 files: Root, Entries and Repository. The
>  Root file actually contains a line saying
>  :pserver:alee@cvsserver:/home/cvs and I suspect wincvs is using this
>  line instead of the CVSROOT in the preference setting.
>  -Aaron
>  
>  -Original Message-
>  From: Szabó Tamás [mailto:[EMAIL PROTECTED]]
>  Sent: Tuesday, March 20, 2001 11:27 AM
>  To: Aaron Lee; [EMAIL PROTECTED]
>  Subject: Re: cvs server with different names
>  
>  
>  Hi!
>  
>  > where xxx.xxx.xxx.xxx is the IP address of cvsserver but wincvs still
>  > remember my old setting and refuse the new CVSROOT. Is there any way
>  to
>  > get around this? Thanks in advance!
>  
>  Try to ping xxx.xxx.xxx.xxx.
>  Try to telnet to xxx.xxx.xxx.xxx's 2401 port. If this is the port that
>  it uses.
>  
>  Can you do this things?
>  
>  Tamas
>  
>  ___
>  Info-cvs mailing list
>  [EMAIL PROTECTED]
>  http://mail.gnu.org/mailman/listinfo/info-cvs
>  

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: cvs server with different names

2001-03-20 Thread Szabó Tamás

> That's exactly what's happening, and it's the way it's supposed to
> work.  CVS uses the Root file to find the repository that the files
> came from.  If you want to use the same IP address for both locations
> just use the "long form" (xxx.xxx.xxx.xxx) in both places.

Probably that won't work because on the internal network I guess he is
using a reserved ip and from home he uses a real ip.

> Alternatively you can change the Root files (a bad idea) or check out a
> new copy when you're remote (which probably is not what you want to
> do).

Or he could set up $HOME/.cvsrc like 

cvs -d :pserver:[EMAIL PROTECTED]:/path/to/repository

the -d parameter overrides CVS/Root.

Tamas

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs