Mercurial > hg
comparison tests/test-status-inprocess.py @ 25995:4f703dcc626f stable
revset: prevent crash caused by empty group expression while optimizing "and"
An empty group expression "()" generates None in AST, so the optimizer have
to test it before destructuring a tuple. The error message, "missing argument",
is somewhat obscure, but it should be better than crash.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 09 Aug 2015 16:06:36 +0900 |
parents | 13a1b2fb7ef2 |
children | 7779f9dfd938 |
comparison
equal
deleted
inserted
replaced
25925:23c4589fc678 | 25995:4f703dcc626f |
---|