Mercurial > hg
comparison tests/test-diff-binary-file.t @ 22691:d8a08b68f754
revset: add a `__nonzero__` to baseset
We are about to add a base class for `baseset` with an abstract `__nonzero__`
method. So we need this method to be explicitly defined to avoid issues. The
built-in list object apparently does not have a `__nonzero__` and relies on
`__len__` for this purpose?
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 01 Oct 2014 15:03:16 -0500 |
parents | 3fbef7ac26f0 |
children | 0db6810e84e8 |
comparison
equal
deleted
inserted
replaced
22690:d7ab5684711f | 22691:d8a08b68f754 |
---|