[Zope3-dev] DOS file endings not allowed in text files in CVS
Jim Fulton
jim@ZOPE.COM
Wed, 13 Nov 2002 15:06:25 -0500
Barry A. Warsaw wrote:
>>>>>>"JF" == Jim Fulton <jim@zope.com> writes:
>>>>>>
>
> >> Or: 4. Before checking in from Unix, normalize line endings. I
> >> use Tools/scripts/crlf.py from the Python distribution:
>
> JF> I don't think this approach is practical because people will
> JF> invariably forget to do it. I speak from experience. I know of
> JF> some folks who were going to run dos2unix before checking in
> JF> and often forgot.
>
> I wonder if you could twist commitinfo into either doing the filtering
> or at least barking loudly if it finds bad line endings. One problem
> is that commitinfo runs on the remote repository. I've never played
> with commitinfo though...
Ken and I discussed this. It felt too scary.
Jim
--
Jim Fulton mailto:jim@zope.com Python Powered!
CTO (888) 344-4332 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org