[Answered ]-What patch format is this and how do I apply it

2👍

Judging by this Trac comment, this diff isn’t applicable as-is, but needs some editing to become a valid patch. The file’s creator later commented that he doesn’t know what he did wrong, there.

117e99511e0985701780ed1bcd3afd456e244ae3 (from the diff’s first line) is a valid commit ID in the django git repo. Probably, it’s what the revision this change was based on. You won’t find 015b1c15f25f2f72a40a9bfce9d91ec91ddff2a2 in the repo, as the diff creator didn’t push his local commit and submitted the diff file instead.

If you want these changes, your best chance is probably to seek for the commit where they were applied to the django git repo (see first linked Trac comment) or to ask the people involved in the Trac ticket.

👤das-g

Leave a comment