> This also causes problems with django-admin.py on UNIX. By the way, is
> the whole Django codebase in CRLF format?
> Yeah, anyway, these two files (probably a couple more, but these at
> least) need to be converted to LF (as in '\n') format, instead of CRLF
> (as in '\r\n').
> Django-admin.py's problem is in the shebang line (#!/usr/bin/env
> python). bash interprets it weirdly when there's a weird \r character
> at the end of it.
The repository uses native line endings, so if you end up with CRLF on
Unix, it's your installation that's messed up:
$ svn proplist -v
http://code.djangoproject.com/svn/django/trunk/django/bin/django-admin.py
Properties on
'http://code.djangoproject.com/svn/django/trunk/django/bin/django-admin.py':
svn:executable : *
svn:eol-style : native
(the same applies to the extras/django_bash_completion file, from what I
can tell. the eol-style was set in december 2006 for the admin file,
and in march 2008 for the completion script).
</F>