Mercurial > hg
comparison contrib/debugcmdserver.py @ 22483:a21d04848359
revset: simplify orderedlazyset creation in spanset method
We can simply use the `self.isascending` value instead of more complex if/else
clause. This get the code simpler.
Benchmarks show no performances harmed in the process.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Tue, 16 Sep 2014 23:47:34 -0700 |
parents | e34106fa0dc3 |
children | cd03fbd5ab57 |
comparison
equal
deleted
inserted
replaced
22482:2e40cda4b2c5 | 22483:a21d04848359 |
---|