Mercurial > hg
comparison tests/test-remove.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 | e033a7d444ac |
children | 8cc51c5a9365 |
comparison
equal
deleted
inserted
replaced
24909:d71492ca2fdd | 24910:80a711e91507 |
---|