Mercurial > hg
comparison tests/test-glog.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 | 2e37bd614879 |
comparison
equal
deleted
inserted
replaced
38611:0ba4cf3f088f | 38612:760cc5dc01e8 |
---|---|
1868 | 1868 |
1869 $ hg up -q 4 | 1869 $ hg up -q 4 |
1870 $ testlog "set:copied()" | 1870 $ testlog "set:copied()" |
1871 [] | 1871 [] |
1872 (func | 1872 (func |
1873 (symbol 'filelog') | 1873 (symbol '_matchfiles') |
1874 (string 'set:copied()')) | 1874 (list |
1875 (string 'r:') | |
1876 (string 'd:relpath') | |
1877 (string 'p:set:copied()'))) | |
1875 <filteredset | 1878 <filteredset |
1876 <spanset- 0:7>, set([])> | 1879 <spanset- 0:7>, |
1880 <matchfiles patterns=['set:copied()'], include=[] exclude=[], default='relpath', rev=2147483647>> | |
1877 $ testlog --include "set:copied()" | 1881 $ testlog --include "set:copied()" |
1878 [] | 1882 [] |
1879 [] | 1883 (func |
1880 <spanset- 0:7> | 1884 (symbol '_matchfiles') |
1885 (list | |
1886 (string 'r:') | |
1887 (string 'd:relpath') | |
1888 (string 'i:set:copied()'))) | |
1889 <filteredset | |
1890 <spanset- 0:7>, | |
1891 <matchfiles patterns=[], include=['set:copied()'] exclude=[], default='relpath', rev=2147483647>> | |
1881 $ testlog -r "sort(file('set:copied()'), -rev)" | 1892 $ testlog -r "sort(file('set:copied()'), -rev)" |
1882 ["sort(file('set:copied()'), -rev)"] | 1893 ["sort(file('set:copied()'), -rev)"] |
1883 [] | 1894 [] |
1884 <filteredset | 1895 <filteredset |
1885 <fullreposet- 0:7>, | 1896 <fullreposet- 0:7>, |