info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Info-cvs Digest, Vol 17, Issue 29


From: Peter Sotos
Subject: RE: Info-cvs Digest, Vol 17, Issue 29
Date: Thu, 22 Apr 2004 10:10:05 -0700

Hello all,

I am getting the following error:
CVS is failing on the connection attempt:

Logging in to :pserver:<my username>@192.168.xx.xxx:2401:/edesk/cvsroot

cvs [login aborted]: connect to 192.168.xx.xxx:2401 failed: No connection
could be made because the target machine actively refused it.

The port is defeinitely open and the IP is correct. Also, I have set up the
passwd file and the writers file (Perhaps incorrectly?) but still I get this
message. Does this have something to do with the hosts file perhaps? I did
add my local IP to that file. So I am not sure why I cant connect. I even
have tried multiple protocols with similar results.

Peter


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
address@hidden
Sent: None
To: address@hidden
Subject: Info-cvs Digest, Vol 17, Issue 29

Send Info-cvs mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.gnu.org/mailman/listinfo/info-cvs
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Info-cvs digest..."


Today's Topics:

   1. Re: cvs status behaviour (Larry Jones)
   2. Re: how to checkin binary files (Larry Jones)
   3. Re: strange "it is in the way" message (Doug Lee)
   4. Re: strange "it is in the way" message (Derek Robert Price)
   5. Re: strange "it is in the way" message (Derek Robert Price)
   6. Re: how to checkin binary files (Doug Lee)
   7. Re: how to checkin binary files (Spiro Trikaliotis)
   8. Re: strange "it is in the way" message (Frederic Brehm)
   9. Re: strange "it is in the way" message (Doug Lee)
  10. RE: strange "it is in the way" message (Lars Huttar)


----------------------------------------------------------------------

Message: 1
Date: Thu, 22 Apr 2004 09:47:31 -0400 (EDT)
From: address@hidden (Larry Jones)
Subject: Re: cvs status behaviour
To: address@hidden (Colm Aengus Murphy)
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

Colm Aengus Murphy writes:
>
[ cvs status produces slightly different output in client/server mode
than it does in local mode ]
> 
> Its not a problem, just something funny that was thrown up by a script 
> which parses cvs status output.
> 
> Any ideas ?

That's just the way it works.  In client/server mode, the client doesn't
send the timestamp to the server so the server can't very well put it in
the output.

-Larry Jones

If I get a bad grade, it'll be YOUR fault for not doing the work for me!
-- Calvin




------------------------------

Message: 2
Date: Thu, 22 Apr 2004 09:28:09 -0400 (EDT)
From: address@hidden (Larry Jones)
Subject: Re: how to checkin binary files
To: address@hidden
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

Xicheng writes:
> 
> May someone tell me how to checkin a binary file into my repository?

Others have already answered your question, but I feel obliged to point
out that CVS was designed for text files, not binary files.  You should
carefully consider why you want to put a binary file into a source code
control system.

-Larry Jones

See if we can sell Mom and Dad into slavery for a star cruiser. -- Calvin




------------------------------

Message: 3
Date: Thu, 22 Apr 2004 10:24:42 -0400
From: Doug Lee <address@hidden>
Subject: Re: strange "it is in the way" message
To: "Jim.Hyslop" <address@hidden>
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

On Thu, Apr 22, 2004 at 09:04:44AM -0400, Jim.Hyslop wrote:
> Lars Huttar wrote:
> > On a Windows 2000 server, I'm running 
> >    cvs.exe update -d -P -C
> ...
> > test server. But for every file that already exists on the test
> > server, I get the error,
> > 
> >   cvs update: move away 
> > cocoon/mount/data-server/sources/BPPP.xsp; it is in the way
> >   C cocoon/mount/data-server/sources/BPPP.xsp
> > 
> > For every file! Whether modified (locally or on the CVS 
> > server) or not.
> 
> > And most importantly, files that have been modified on other
> > machines and committed to the CVS server do not get updated
> > (regardless of whether they were modified on the test server).
> Now that's really strange.
> 
> What platform and CVS version is your repository? What's your connection
> method?

I've seen this kind of thing when the CVS server is a Unix variant,
the client is in Windows, and the client's CVS\entries file contains
file names in a different case than the actual names on the Unix host.
The solution for me has always been to manually edit the CVS\entries
file on the client and make the case match the Unix host's case for
each name--which is, of course, a pain, so I wrote about that issue in
a separate thread on this list recently.

My explanation, right or wrong, is this:  I believe the co/update
command tries to retrieve the file with the case shown in CVS\entries
AND gets told by the Unix host that there's this new file with the
same name in a different case.  The first of these succeeds in
matching the file also, because CVS translates the case for the
transit between operating systems (surely not a precise description of
what happens there)... so the upshot is that CVS tries to get the file
twice, and the second retrieval collides with the file already gotten
and produces the "it is in the way" message.

-- 
Doug Lee           address@hidden        http://www.dlee.org
Bartimaeus Group   address@hidden   http://www.bartsite.com
"It's not easy to be crafty and winsome at the same time, and few accomplish
it after the age of six." --John W. Gardner and Francesca Gardner Reese




------------------------------

Message: 4
Date: Thu, 22 Apr 2004 10:33:14 -0400
From: Derek Robert Price <address@hidden>
Subject: Re: strange "it is in the way" message
To: Lars Huttar <address@hidden>
Cc: address@hidden, Jim Hyslop <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lars Huttar wrote:

>I've tried this with both a windows client (1.11.12 from cvshome.org),
>and the Cygwin cvs client.


This might be your problem.  If you installed Cygwin to use UNIX line
endings, then your Windows cvs.exe is creating files with \r\n for an
EOL and your Cygwin cvs.exe is creating files with a \n EOL.  A file
checked out by one EXE will always look modied to the other.

There are two possible solutions to this.  The first is to not share
sandboxes between the two different CVS executables.  The other is to
reinstall your Cygwin to use Windows EOLs and maybe recompile you
Cygwin CVS executable.

Derek

- --
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAh9eoLD1OTBfyMaQRAsrQAKCJATYveSUsSf76qaFMMq7szElUFwCdHNN6
MoCz5+6/q4+G2OVxpkJ/LP4=
=SMDj
-----END PGP SIGNATURE-----





------------------------------

Message: 5
Date: Thu, 22 Apr 2004 11:21:03 -0400
From: Derek Robert Price <address@hidden>
Subject: Re: strange "it is in the way" message
To: Doug Lee <address@hidden>
Cc: address@hidden, "Jim.Hyslop" <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Doug Lee wrote:

>My explanation, right or wrong, is this:  I believe the co/update
>command tries to retrieve the file with the case shown in CVS\entries
>AND gets told by the Unix host that there's this new file with the


The CVS client should preserve the case of files in CVS/Entries.  If
it isn't, that is a bug, but I haven't ever heard of anything like
that before and I've been using both the Windows & Cygwin executables
fairly frequently recently.

Derek

- --
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAh+LeLD1OTBfyMaQRAtnyAJ9kcJKBwjLfGMAAF7yQVpSisfOgtACgl3sy
EeisITAWyV5+1nzDI/AnafU=
=Rj+L
-----END PGP SIGNATURE-----





------------------------------

Message: 6
Date: Thu, 22 Apr 2004 11:17:40 -0400
From: Doug Lee <address@hidden>
Subject: Re: how to checkin binary files
To: Larry Jones <address@hidden>
Cc: address@hidden, address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

On Thu, Apr 22, 2004 at 09:28:09AM -0400, Larry Jones wrote:
> Xicheng writes:
> Others have already answered your question, but I feel obliged to point
> out that CVS was designed for text files, not binary files.  You should
> carefully consider why you want to put a binary file into a source code
> control system.

I don't check in compiled versions of my code, but I've had occasion
to check in Microsoft Office document files when they're each managed
by only one person but accessed by everyone in a group.  On one
project, where I'm writing code to support specific versions of
another application, I've version-controlled various files from their
system, some binary, so that I can detect and follow changes in the
system I'm keeping up with.  Finally, I'm sure anyone who
version-controls web sites will want to store images in the repo
sometimes.

In other words, there are reasons. :)

-- 
Doug Lee           address@hidden        http://www.dlee.org
Bartimaeus Group   address@hidden   http://www.bartsite.com
"Sometimes I think my learning curve is a circle." -- David Andrews




------------------------------

Message: 7
Date: Thu, 22 Apr 2004 17:52:17 +0200
From: Spiro Trikaliotis <address@hidden>
Subject: Re: how to checkin binary files
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=iso-8859-15

Hello,

* On Thu, Apr 22, 2004 at 11:17:40AM -0400 Doug Lee wrote:
 
> I don't check in compiled versions of my code, but I've had occasion
> to check in Microsoft Office document files when they're each managed
> by only one person but accessed by everyone in a group.

Specifically for MS Word, I ask myself what would be a better use: Store
the .DOC in CVS, or do the same with the .RTF.

Any ideas?

Best regards,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/




------------------------------

Message: 8
Date: Thu, 22 Apr 2004 11:35:16 -0400
From: "Frederic Brehm" <address@hidden>
Subject: Re: strange "it is in the way" message
To: Doug Lee <address@hidden>,"Jim.Hyslop" <address@hidden>
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 10:24 AM 4/22/2004, Doug Lee wrote:
>I've seen this kind of thing when the CVS server is a Unix variant,
>the client is in Windows, and the client's CVS\entries file contains
>file names in a different case than the actual names on the Unix host.

Could another cause be a server clock that is two seconds ahead of the 
client? I'm seeing "cvs update: move away xxxx; it is in the way" messages 
and the only problem I can find is the lack of time synchronization.

This is with WinCVS 1.2 client and CVS 1.11.2 on a Linux box (the 
administrator hasn't yet taken the time to update to a newer version) using 
rsh.

Thanks,
Fred


_______________________________________________________________
Frederic W. Brehm, Sarnoff Corporation, http://www.sarnoff.com/





------------------------------

Message: 9
Date: Thu, 22 Apr 2004 11:39:09 -0400
From: Doug Lee <address@hidden>
Subject: Re: strange "it is in the way" message
To: Derek Robert Price <address@hidden>
Cc: address@hidden, "Jim.Hyslop" <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

On Thu, Apr 22, 2004 at 11:21:03AM -0400, Derek Robert Price wrote:
> 
> Doug Lee wrote:
> 
> >My explanation, right or wrong, is this:  I believe the co/update
> >command tries to retrieve the file with the case shown in CVS\entries
> >AND gets told by the Unix host that there's this new file with the
> 
> 
> The CVS client should preserve the case of files in CVS/Entries.  If
> it isn't, that is a bug, but I haven't ever heard of anything like
> that before and I've been using both the Windows & Cygwin executables
> fairly frequently recently.

Oops, I left out a rather important detail:  The initial cause of the
problem I mentioned is that the case of names in the repo changed.  In
the thread I started regarding this recently, I explained that I've
had occasion to haul a Unix repo off to a remote site and put it under
Windows for a while, then bring it back to Unix.  CVS uses the same
repo format in both OSes, so this works; but Windows sometimes can
cause the case of file names in the repo to change, and when those
files are pulled back into Unix, the case change locks in and causes
the "it is in the way" problem in active Windows checkouts made
against them.

-- 
Doug Lee           address@hidden        http://www.dlee.org
Bartimaeus Group   address@hidden   http://www.bartsite.com
"Never does the human soul appear so strong as when it foregoes
revenge, and dares forgive an injury."
--E. H. Chapin




------------------------------

Message: 10
Date: Thu, 22 Apr 2004 10:39:05 -0500
From: "Lars Huttar" <address@hidden>
Subject: RE: strange "it is in the way" message
To: "'Jim.Hyslop'" <address@hidden>,    <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain;       charset="iso-8859-1"

Jim,
Thanks for your response.
The server version is
  "Server: Concurrent Versions System (CVS) 1.11.2 (client/server)"
I'm inquiring as to what the server platform is (it's in another
state).

I should add that when I do a CVS update on my dev machine
(as opposed to the test server), a WinXP box,
using Cygwin command-line cvs client or TortoiseCVS,
it works fine. It's only when I run it on the test server (using
command-line cvs client) that it fails to update existing files.

My dev machine's Cygwin cvs client is version 1.11.5.
My dev machine's TortoiseCVS version is 1.4.5, and its About box
  says CVS version: Concurrent Versions System (CVSNT) 2.0.4 (client/server)

Lars

> -----Original Message-----
> From: Jim.Hyslop [mailto:address@hidden
> Sent: Thursday, April 22, 2004 8:05 AM
> To: 'Lars Huttar'; address@hidden
> Subject: RE: strange "it is in the way" message
> 
> 
> Lars Huttar wrote:
> > On a Windows 2000 server, I'm running 
> >    cvs.exe update -d -P -C
> ...
> > test server. But for every file that already exists on the test
> > server, I get the error,
> > 
> >   cvs update: move away 
> > cocoon/mount/data-server/sources/BPPP.xsp; it is in the way
> >   C cocoon/mount/data-server/sources/BPPP.xsp
> > 
> > For every file! Whether modified (locally or on the CVS 
> > server) or not.
> 
> > And most importantly, files that have been modified on other
> > machines and committed to the CVS server do not get updated
> > (regardless of whether they were modified on the test server).
> Now that's really strange.
> 
> What platform and CVS version is your repository? What's your 
> connection
> method?
> 
> -- 
> Jim Hyslop
> Senior Software Designer
> Leitch Technology International Inc. (http://www.leitch.com)
> Columnist, C/C++ Users Journal (http://www.cuj.com/experts)
> 
> 




------------------------------

_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs


End of Info-cvs Digest, Vol 17, Issue 29
****************************************





reply via email to

[Prev in Thread] Current Thread [Next in Thread]