Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
38611:0ba4cf3f088f | 38612:760cc5dc01e8 |
---|---|
2021 | 2021 |
2022 $ hg up -q 4 | 2022 $ hg up -q 4 |
2023 $ testlog "set:copied()" | 2023 $ testlog "set:copied()" |
2024 [] | 2024 [] |
2025 (func | 2025 (func |
2026 (symbol 'filelog') | 2026 (symbol '_matchfiles') |
2027 (string 'set:copied()')) | 2027 (list |
2028 (string 'r:') | |
2029 (string 'd:relpath') | |
2030 (string 'p:set:copied()'))) | |
2028 <filteredset | 2031 <filteredset |
2029 <spanset- 0:7>, set([])> | 2032 <spanset- 0:7>, |
2033 <matchfiles patterns=['set:copied()'], include=[] exclude=[], default='relpath', rev=2147483647>> | |
2030 $ testlog --include "set:copied()" | 2034 $ testlog --include "set:copied()" |
2031 [] | 2035 [] |
2032 [] | 2036 (func |
2033 <spanset- 0:7> | 2037 (symbol '_matchfiles') |
2038 (list | |
2039 (string 'r:') | |
2040 (string 'd:relpath') | |
2041 (string 'i:set:copied()'))) | |
2042 <filteredset | |
2043 <spanset- 0:7>, | |
2044 <matchfiles patterns=[], include=['set:copied()'] exclude=[], default='relpath', rev=2147483647>> | |
2034 $ testlog -r "sort(file('set:copied()'), -rev)" | 2045 $ testlog -r "sort(file('set:copied()'), -rev)" |
2035 ["sort(file('set:copied()'), -rev)"] | 2046 ["sort(file('set:copied()'), -rev)"] |
2036 [] | 2047 [] |
2037 <filteredset | 2048 <filteredset |
2038 <fullreposet- 0:7>, | 2049 <fullreposet- 0:7>, |