comparison hgext/pager.py @ 16524:ed6a74312176 stable

patch: be more tolerant with EOLs in binary diffs (issue2870) The only place where an trailing CR could be meaningful is in the "diff --git" line as part of a filename, and existing code already rule out this possibility. Extend the CR/LF filtering to the whole binary hunk.
author Patrick Mezard <patrick@mezard.eu>
date Thu, 26 Apr 2012 21:44:02 +0200
parents 11aad09a6370
children 369741ef7253
comparison
equal deleted inserted replaced
16523:727068417b95 16524:ed6a74312176