Mercurial > hg
diff tests/test-glog-beautifygraph.t @ 38612:760cc5dc01e8
fileset: restrict getfileset() to not return a computed set (API)
And rename the functions accordingly. fileset.match() will be changed to
not compute the initial subset.
test-glog*.t get back to the state before 9f9ffe5f687c "match: compose
'set:' pattern as matcher."
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 09 Jun 2018 20:53:12 +0900 |
parents | 9f9ffe5f687c |
children | dcecf772756a |
line wrap: on
line diff
--- a/tests/test-glog-beautifygraph.t Sat Jun 09 22:04:07 2018 +0900 +++ b/tests/test-glog-beautifygraph.t Sat Jun 09 20:53:12 2018 +0900 @@ -2023,14 +2023,25 @@ $ testlog "set:copied()" [] (func - (symbol 'filelog') - (string 'set:copied()')) + (symbol '_matchfiles') + (list + (string 'r:') + (string 'd:relpath') + (string 'p:set:copied()'))) <filteredset - <spanset- 0:7>, set([])> + <spanset- 0:7>, + <matchfiles patterns=['set:copied()'], include=[] exclude=[], default='relpath', rev=2147483647>> $ testlog --include "set:copied()" [] - [] - <spanset- 0:7> + (func + (symbol '_matchfiles') + (list + (string 'r:') + (string 'd:relpath') + (string 'i:set:copied()'))) + <filteredset + <spanset- 0:7>, + <matchfiles patterns=[], include=['set:copied()'] exclude=[], default='relpath', rev=2147483647>> $ testlog -r "sort(file('set:copied()'), -rev)" ["sort(file('set:copied()'), -rev)"] []