Mercurial > hg
comparison tests/test-lfconvert.t @ 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 | 816be4ca4ae2 |
children | fcd2f9b06629 |
comparison
equal
deleted
inserted
replaced
24909:d71492ca2fdd | 24910:80a711e91507 |
---|