Mercurial > hg
diff tests/check-perf-code.py @ 32191:31f42e683321
diff: add a fast path to avoid loading binary contents
When diffing binary contents, with certain configs, we can show
"Binary file <name> has changed" without actual content.
That allows a fast path where we could avoid providing actual binary
contents. Note: in that case we still need to test if two contents are the
same, that's done by using "filectx.cmp", which could have its own fast
path.
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 03 May 2017 23:50:41 -0700 |
parents | d8a2c536dd96 |
children | bd872f64a8ba |