gertty/gertty
James E. Blair 2d2fb1509c Allow negative comparison on null topics
Topics can be null, which means they can't be compared to strings.
So a query with "topic:foo" would match changes with topic foo,
and not match changes with topic bar or the null topic.  However,
the inverse, "not topic:foo" does not work as expected.  It would
match changes with topic bar, but *not* changes with the null topic
because that comparison evaluates to unknown.

By changing the predicate to "topic is not null and topic = foo"
we achive the same results on the positive query, and the negation
of that query works as well (since if the topic is null, the
expression will evaluate to false in the first half, and if the
topic is bar, evaluate to false in the second half).

Change-Id: I5a81d5eaae1ef43cea6b897d44a631cac00bf081
2017-03-17 14:43:47 -07:00
..
alembic Add an outdated flag for changes 2016-08-09 09:32:55 -07:00
search Allow negative comparison on null topics 2017-03-17 14:43:47 -07:00
view Fix crash on long review messages 2017-03-03 14:54:07 -08:00
__init__.py Initial commit 2014-04-29 16:28:49 -07:00
alembic.ini Use alembic 2014-05-07 21:35:07 -04:00
app.py Prevent more than one gertty from running at a time 2016-06-12 23:22:07 -06:00
auth.py Use urlparse from six for python 3 compat 2016-09-20 01:47:48 -07:00
commentlink.py Allow gertty to run in Py3K environments 2016-01-15 09:10:31 -08:00
config.py Add option to sort by project 2017-03-03 14:54:06 -08:00
db.py Add option to sort by project 2017-03-03 14:54:06 -08:00
dbsupport.py Attach comments to files 2015-05-27 08:34:04 -07:00
gitrepo.py Add trailing-whitespace style 2016-09-21 13:50:23 +00:00
keymap.py Show potential completions 2016-05-02 11:00:40 -05:00
mywid.py Make change list searchable 2016-05-02 11:01:42 -05:00
palette.py Make size a graph 2017-03-03 14:44:08 -08:00
requestsexceptions.py Handle SNIMissingWarning requests exception 2016-05-11 11:37:19 -07:00
sync.py Warn, log, and continue on conflict query failure 2017-03-03 14:54:04 -08:00
version.py Add user-agent and version 2014-08-30 14:55:53 -07:00