[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DOS EOL pollution in repository
From: |
Eric Siegerman |
Subject: |
Re: DOS EOL pollution in repository |
Date: |
Wed, 7 Mar 2001 17:08:59 -0500 |
User-agent: |
Mutt/1.2.5i |
On Wed, Mar 07, 2001 at 01:15:30PM -0800, Russ Tremain wrote:
> We are getting ^M's in our repository now and then, and
> wondered how other folks deal with this problem.
>
> One source of the problem is folks editing files on NT,
> and then copying them to unix to commit them.
So don't do that :-) A couple of possibilities:
- Get people on Windows boxes to use WinCVS -- more generally,
people on whatever client platform should use a native CVS
client, rather than
- copying files to/from a UNIX box, or
- remote-mounting a sandbox which lives on a UNIX box
This is the "canonical" solution.
- Some Windows editors (eg. TextPad) can be configured to save
files using the UNIX EOL convention. We've had a fair amount
of luck with that.
> I'm tempted to put in a commit
> filter that rejects text files with DOS EOL's.
Sounds like a good thing to do in addition. My suggestions will
make life easier for people, but this is what'll enforce your
policy.
--
| | /\
|-_|/ > Eric Siegerman, Toronto, Ont. address@hidden
| | /
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea.
- RFC 1925 (quoting an unnamed source)
- GSSAPI, Bruce, Phillip, 2001/03/07