comparison 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
comparison
equal deleted inserted replaced
46041:9c0db3671008 46042:1bf2b44c4007
1375 5 k0 1375 5 k0
1376 3 k2 1376 3 k2
1377 2 k2 1377 2 k2
1378 1 k1 1378 1 k1
1379 0 k0 1379 0 k0
1380
1381 log -b/-u/-k shouldn't accept string-matcher syntax:
1382
1383 $ hg log -b 're:.*'
1384 abort: unknown revision 're:.*'
1385 [255]
1386 $ hg log -k 're:.*'
1387 $ hg log -u 're:.*'
1380 1388
1381 log FILE in ascending order, against dagrange: 1389 log FILE in ascending order, against dagrange:
1382 1390
1383 $ hg log -r1:: -T '{rev} {files}\n' f1 f2 1391 $ hg log -r1:: -T '{rev} {files}\n' f1 f2
1384 1 f1 1392 1 f1