[pypy-dev] Re: fixeol

holger krekel hpk at trillke.net
Mon Sep 22 15:15:10 CEST 2003


[Armin Rigo Mon, Sep 22, 2003 at 02:08:45PM +0100]
> Hello Christian,
> 
> > >Argh ! The files look completely broken now !! Warning !
> 
> I hopefully fixed the script now. You might try it (carefully!) on some new
> text files.
> 
> I'm still a bit worried that if fixeol actually changes content, as would be
> the case if it is run by someone on another platform than the one used to
> create it, then svn will record it as completely changed (ideal source for
> conflicts). The only solution I could imagine would be to make sure that
> people specify files to be text when they first add it to the repository. 
> Somehow the default "files-are-binary" of SVN creates different, new kind of
> problems than the default "files-are-text" of CVS. Maybe a no-default
> you-must-specify-it-explicitely wouldn't have been such a bad idea.

we could enforce this on a pre-commit hook and maybe other things
like e.g. that REST-files compile without errors.  The latter would make
a checkin of documents slower but i think it's worth it IMO.

cheers,

    holger


More information about the Pypy-dev mailing list