Mercurial > hg
view tests/test-wireproto.py.out @ 24910:80a711e91507
changegroup: use 'reorder is None' instead of 'reorder is not True/False'
The config option bundle.reorder can be {on,off,auto}, which gets read
into the 'reorder' variable as {True,False,None}. In two places, we
need to decide how to handle the None/auto case. I personally find it
easier to read those expressions when written to explicitly compare to
None.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 23 Apr 2015 09:44:22 -0700 |
parents | 08ef6b5f3715 |
children | d3d32643c060 |