Mercurial > hg
comparison contrib/dumprevlog @ 26977:bd19561b98d9
filectx: allow custom comparators
We're going to introduce other sorts of filectxes very soon, and we'd like the
cmp method to function properly (i.e. commutatively) for them. The only way to
make that happen is for this cmp method to call into that specialized one if
that defines a custom comparator.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Fri, 13 Nov 2015 22:37:51 -0800 |
parents | 659f34b833b9 |
children | a212ca70205c |
comparison
equal
deleted
inserted
replaced
26976:c48fee950ce4 | 26977:bd19561b98d9 |
---|