The free TextWrangler from BareBones is a great Macintosh Text editor, and offers choices of line endings. http://www.barebones.com/products/textwrangler/
Classic Mac: CR Unix: LF Windows CRLF As well as choice of encoding and a host of other great features.
Best, Dave Nathanson KG6ZJO
On Jul 18, 2014, at 10:32 AM, Dan Smith dsmith@danplanet.com wrote:
1 out of 1 hunks FAILED -- saving rejects to file chirpui/mainapp.py.rej abort: patch failed to apply ================
This is saying nothing applied, which generally means that line endings aren't right. I think you're using a mac, which uses \r line endings (sometimes, not always, and I can never remember when/why). My guess would be that you copy-and-paste'd the patch out to a file? In that case, you've got \r endings and the code has \n. Thus, patch (or hg import in this case) can't find any lines that match.