[Oleg Broytmann[ > My experience shows that if the developers use different OSes (our team > uses Linux and Windows) it helps very much to set svn:eol-style to native > for all text files - *.py, *.txt, etc, except for files with special > requirements.
Yes. > So I use the following shell script > > #! /bin/sh > > svn add "$@" > svn propset svn:eol-style native "$@" > svn propset svn:keywords "Date Rev Id" "$@" > > to add *.py files to the repository. (I don't want to put it in a global > configuration because I have different requirements for different projects.) > > For other text files the same except keywords: > > #! /bin/sh > > svn add "$@" > svn propset svn:eol-style native "$@" > >> test_pepe263 probably should be binary (it contains "funny >> characters"). > > It should be text with encoding > > $ svn propset svn:mime-type "text/plain; charset=koi8-r" test_pep263 "The reason" it's binary is given in a comment at the top of the file: ""|" # This file is marked as binary in the CVS, to prevent MacCVS from recoding it. """ So someone on a Mac should check whether the Mac flavor of SVN also screws it up. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com