all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phillip Lord <p.lord@russet.org.uk>
Subject: Re: NTEmacs, CVS, PCL-CVS, Version Control and ^M?
Date: 25 Apr 2003 12:43:23 +0100	[thread overview]
Message-ID: <vf1xzqreec.fsf@rpc71.cs.man.ac.uk> (raw)
In-Reply-To: mailman.5174.1051216226.21513.help-gnu-emacs@gnu.org

>>>>> "Eli" == Eli Zaretskii <eliz@elta.co.il> writes:

  >> From: Phillip Lord <p.lord@russet.org.uk> 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

  parent reply	other threads:[~2003-04-25 11:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-24  1:56 NTEmacs, CVS, PCL-CVS, Version Control and ^M? Galen Boyer
2003-04-24  6:11 ` Eli Zaretskii
2003-04-24  7:44 ` Jason Rumney
2003-04-24  9:33 ` Phillip Lord
2003-04-24 20:27   ` Eli Zaretskii
     [not found]   ` <mailman.5174.1051216226.21513.help-gnu-emacs@gnu.org>
2003-04-25  7:24     ` Jason Rumney
2003-04-25 11:43     ` Phillip Lord [this message]
2003-04-25 15:09       ` Eli Zaretskii
     [not found]       ` <mailman.5194.1051283666.21513.help-gnu-emacs@gnu.org>
2003-04-25 15:43         ` Phillip Lord
2003-04-25 16:36           ` Eli Zaretskii
     [not found]           ` <mailman.5199.1051288896.21513.help-gnu-emacs@gnu.org>
2003-04-25 16:57             ` Phillip Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vf1xzqreec.fsf@rpc71.cs.man.ac.uk \
    --to=p.lord@russet.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.