##// END OF EJS Templates
match: consider filesets as "anypats"...
Patrick Mezard -
r16182:bd12ef34 default
parent child Browse files
Show More
@@ -333,5 +333,5 b' def _roots(patterns):'
333 333
334 334 def _anypats(patterns):
335 335 for kind, name in patterns:
336 if kind in ('glob', 're', 'relglob', 'relre'):
336 if kind in ('glob', 're', 'relglob', 'relre', 'set'):
337 337 return True
@@ -1663,6 +1663,8 b' Test --copies'
1663 1663 Test "set:..." and parent revision
1664 1664
1665 1665 $ hg up -q 4
1666 $ testlog "set:copied()"
1667 ('group', ('group', ('func', ('symbol', '_matchfiles'), ('list', ('string', 'r:'), ('string', 'p:set:copied()')))))
1666 1668 $ testlog --include "set:copied()"
1667 1669 ('group', ('group', ('func', ('symbol', '_matchfiles'), ('list', ('string', 'r:'), ('string', 'i:set:copied()')))))
1668 1670 $ testlog -r "sort(file('set:copied()'), -rev)"
General Comments 0
You need to be logged in to leave comments. Login now