revset: cosmetic changes in spanset range comparison
We use the python syntax for range comparison: `a < x < c`. This is shorter,
more readable and less error prone. This comparison escaped the cleanup make in
e2031c8ca4f8
--- a/mercurial/revset.py Fri Apr 25 23:38:24 2014 -0700
+++ b/mercurial/revset.py Mon Apr 28 15:14:11 2014 -0700
@@ -2821,7 +2821,7 @@
start = self._start
end = self._end
for rev in self._hiddenrevs:
- if (end < rev <= start) or (start <= rev and rev < end):
+ if (end < rev <= start) or (start <= rev < end):
count += 1
return abs(self._end - self._start) - count