[Zope3-dev] DOS file endings not allowed in text files in CVS

Fred L. Drake, Jr. fred@zope.com
Wed, 13 Nov 2002 15:00:54 -0500


Barry A. Warsaw writes:
 > 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...

I think this is the right way to add a check.  The check would need to
be able to determine whether the file is binary or not; checking the
extension would be tolerable, but checking the -kb flag would be
better, if possible.


  -Fred

-- 
Fred L. Drake, Jr.  <fred at zope.com>
PythonLabs at Zope Corporation