1SVK::Log::Filter::Head(U3s)er Contributed Perl DocumentatSiVoKn::Log::Filter::Head(3)
2
3
4
6 SVK::Log::Filter::Head - pass the first N revisions
7
9 The Head filter requires a single integer as its argument. The integer
10 represents the number of revisions that the filter should allow to pass
11 down the filter pipeline. Head only counts revisions that it sees, so
12 if an upstream filter causes the pipeline to skip a revision, Head
13 won't (and can't) count it. As soon as Head has seen the specified
14 number of revisions, it stops the pipeline from processing any further
15 revisions.
16
17 This filter is particularly useful when searching log messages for
18 patterns (see SVK::Log::Filter::Grep). For example, to view the first
19 three revisions with messages that match "foo", one might use
20
21 svk log --filter "grep foo | head 3"
22
24 Head leaves all properties and the stash intact.
25
26
27
28perl v5.38.0 2023-07-21 SVK::Log::Filter::Head(3)