Mercurial > hg
diff tests/test-log.t @ 46042:1bf2b44c4007
log: do not accept string-matcher pattern as -u/-b/-B parameter
I'm pretty sure this is a bug introduced after we've switched the filtering
backend to revset matcher.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 01 Dec 2020 20:22:24 +0900 |
parents | 95c4cca641f6 |
children | 3caa3698335e 9842c00f0252 |
line wrap: on
line diff
--- a/tests/test-log.t Tue Dec 01 19:32:36 2020 +0900 +++ b/tests/test-log.t Tue Dec 01 20:22:24 2020 +0900 @@ -1378,6 +1378,14 @@ 1 k1 0 k0 + log -b/-u/-k shouldn't accept string-matcher syntax: + + $ hg log -b 're:.*' + abort: unknown revision 're:.*' + [255] + $ hg log -k 're:.*' + $ hg log -u 're:.*' + log FILE in ascending order, against dagrange: $ hg log -r1:: -T '{rev} {files}\n' f1 f2