From mboxrd@z Thu Jan 1 00:00:00 1970
Path: main.gmane.org!not-for-mail
From: Phillip Lord
Newsgroups: gmane.emacs.help
Subject: Re: NTEmacs, CVS, PCL-CVS, Version Control and ^M?
Date: 25 Apr 2003 12:43:23 +0100
Organization: Dept of Computer Science, University of Manchester, U.K.
Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org
Message-ID:
References:
NNTP-Posting-Host: main.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: main.gmane.org 1051272342 2186 80.91.224.249 (25 Apr 2003 12:05:42 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Fri, 25 Apr 2003 12:05:42 +0000 (UTC)
Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 25 14:05:40 2003
Return-path:
Original-Received: from monty-python.gnu.org ([199.232.76.173])
by main.gmane.org with esmtp (Exim 3.35 #1 (Debian))
id 1991xU-0000Z5-00
for ; Fri, 25 Apr 2003 14:05:40 +0200
Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org)
by monty-python.gnu.org with esmtp (Exim 4.10.13)
id 1991xL-0004yF-05
for gnu-help-gnu-emacs@m.gmane.org; Fri, 25 Apr 2003 08:05:31 -0400
Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!zen.net.uk!130.88.203.18.MISMATCH!peernews.mcc.ac.uk!cs.man.ac.uk!not-for-mail
Original-Newsgroups: gnu.emacs.help
Original-Lines: 56
Original-NNTP-Posting-Host: rpc71.cs.man.ac.uk
Original-X-Trace: wapping.cs.man.ac.uk 1051271003 5864 130.88.198.228 (25 Apr 2003
11:43:23 GMT)
Original-X-Complaints-To: news@wapping.cs.man.ac.uk
Original-NNTP-Posting-Date: Fri, 25 Apr 2003 11:43:23 +0000 (UTC)
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.93
Original-Xref: shelby.stanford.edu gnu.emacs.help:112311
Original-To: help-gnu-emacs@gnu.org
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor
List-Help:
List-Post:
List-Subscribe: ,
List-Archive:
List-Unsubscribe: ,
Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org
Xref: main.gmane.org gmane.emacs.help:8810
X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8810
>>>>> "Eli" == Eli Zaretskii writes:
>> From: Phillip Lord Newsgroups:
>> gnu.emacs.help Date: 24 Apr 2003 10:33:26 +0100
>>
>> If you try and use more than one client, then you are likely to
>> get into trouble. So, for instance, using both a unix client, and
>> a wincvs client on the same files will result in line terminator
>> problems.
Eli> I really don't know why did you say that. For example, Emacs
Eli> developers use both Unix and Windows CVS clients, and several
Eli> varieties of the Windows ones at that, and I have yet to see
Eli> any significant problems with the files in the repository. In
Eli> fact, I cannot recall even a single problem related to that;
Eli> all source files are kept in the repository in their original
Eli> Unix EOL format.
On the same files? I should be clear here, when I say "files" I mean
work files, not a repository file.
For instance, if you have a file space shared between windows and a
unix box. Then you check out a module using the unix CVS (the workfile
versions will then have unix terminators). And then you operate over
those files using the windows client, and check them in? The windows
client is expecting dos terminators. What will happen? Well I'm not
sure.
Like wise if you go the other way around, and check out with a windows
client, and then checkin with a unix client? I am pretty sure that the
unix client will not translate out the dos terminators, because its
not expecting them in the first place. And so you will end up with dos
terminators in the repository, at which point it all goes pear
shaped.
Now there are other problems besides this. I checked out a file from
CVS yesterday, under unix, and the resultant file had dos
terminators.
These problems can be avoided. I think the situation you are
describing is where each developer uses only one client, although this
may be a different client in each case. I agree this can work, without
problems, although it does not always.
In summary, if you operate on the same work files, with a windows, and
unix client, you are almost certain to end up with line terminator
problems. If each developer has only one client each, then you should
not have problems, although an occasional difficulty may occur.
This is my experience anyway.
Phil