Mercurial > hg
comparison doc/hgmanpage.py @ 34904:4554649a6ea4
log: handle binary files in --line-range patterns
When a file is binary patch.trydiff() would yield None for 'hunkrange'. Handle
this case in the hunksfilter() callback.
Add tests with and without diff.git option as binary handling differs
depending on this option's value.
author | Denis Laxalde <denis@laxalde.org> |
---|---|
date | Wed, 18 Oct 2017 19:00:33 +0200 |
parents | a8ba9a23c893 |
children | eb14ab7db33e |
comparison
equal
deleted
inserted
replaced
34903:16d9f0b3e134 | 34904:4554649a6ea4 |
---|