Mercurial > hg
diff tests/test-glog-beautifygraph.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 | 36c05ab02232 |
line wrap: on
line diff
--- a/tests/test-glog-beautifygraph.t Tue Dec 01 19:32:36 2020 +0900 +++ b/tests/test-glog-beautifygraph.t Tue Dec 01 20:22:24 2020 +0900 @@ -1588,19 +1588,19 @@ (list (func (symbol 'user') - (string 'test')) + (string 'literal:test')) (func (symbol 'user') - (string 'not-a-user')))) + (string 'literal:not-a-user')))) <filteredset <spanset- 0:37>, <addset <filteredset <fullreposet+ 0:37>, - <user 'test'>>, + <user 'literal:test'>>, <filteredset <fullreposet+ 0:37>, - <user 'not-a-user'>>>> + <user 'literal:not-a-user'>>>> $ testlog -b not-a-branch abort: unknown revision 'not-a-branch' abort: unknown revision 'not-a-branch' @@ -1611,28 +1611,28 @@ (list (func (symbol 'branch') - (string 'default')) + (string 'literal:default')) (or (list (func (symbol 'branch') - (string 'branch')) + (string 'literal:branch')) (func (symbol 'branch') - (string 'branch')))))) + (string 'literal:branch')))))) <filteredset <spanset- 0:37>, <addset <filteredset <fullreposet+ 0:37>, - <branch 'default'>>, + <branch 'literal:default'>>, <addset <filteredset <fullreposet+ 0:37>, - <branch 'branch'>>, + <branch 'literal:branch'>>, <filteredset <fullreposet+ 0:37>, - <branch 'branch'>>>>> + <branch 'literal:branch'>>>>> $ testlog -k expand -k merge [] (or