comparison mercurial/help/filesets.txt @ 31286:f8df87018ae9

help: fix example of revs() fileset
author Yuya Nishihara <yuya@tcha.org>
date Thu, 09 Mar 2017 11:01:03 +0900
parents 4140d49d2efb
children 73432eee0ac4
comparison
equal deleted inserted replaced
31285:1937671105bc 31286:f8df87018ae9
69 69
70 hg revert "set:copied() and binary() and size('>1M')" 70 hg revert "set:copied() and binary() and size('>1M')"
71 71
72 - Revert files that were added to the working directory:: 72 - Revert files that were added to the working directory::
73 73
74 hg revert "set:wdir(added())" 74 hg revert "set:revs('wdir()', added())"
75 75
76 - Remove files listed in foo.lst that contain the letter a or b:: 76 - Remove files listed in foo.lst that contain the letter a or b::
77 77
78 hg remove "set: 'listfile:foo.lst' and (**a* or **b*)" 78 hg remove "set: 'listfile:foo.lst' and (**a* or **b*)"