eolfixer

Reinout's installable copy of pypy's fixeol script
Download

eolfixer Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Reinout van Rees
  • Publisher web site:
  • http://vanrees.org

eolfixer Tags


eolfixer Description

Reinout's installable copy of pypy's fixeol script eolfixer is a Python script that goes through a directory structure and fixes non-native EOL endings in non-binary files. So the windows line endings are gone if you work on Linux.Numerous people forget to set native EOL line endings by default in their main svn config file (see zope's svn explanation why this is something you need to do).The script sets the related svn property eol-style to native when not set yet.History and originOriginal script (and thus 99% of the functionality) is from Holger Krekel from the pypy project.Developer commentsA couple of years ago I got a script from Guido Wesdorp for cleaning up EOL styles in svn. I've long kept a private (modified) copy of that file and only later found out that it was from the pypy project: http://codespeak.net/pypy/dist/pypy/tool/fixeol .Some changes to the original script: * Couple of extra file extensions that are checked (like .zcml and .ini files and also _tmpl files like in paster skeletons). * Some code cleanup and optimisation. * Added a setup.py and a console_scripts entry point to make it easy_installable. Requirements: · Python What's New in This Release: · Fixed setup.py so that python script is found. · Added MANIFEST.in to fix source distribution on pypi. · Updated readme, acknowledging Holger Krekel as original author after asking around on #pypy in irc.


eolfixer Related Software