##// END OF EJS Templates
revsets: add descriptions for sample queries in the help
Brodie Rao -
r12659:5aa5cbaf default
parent child Browse files
Show More
@@ -168,10 +168,26 b' Command line equivalents for :hg:`log`::'
168 -P x -> !::x
168 -P x -> !::x
169 -l x -> limit(expr, x)
169 -l x -> limit(expr, x)
170
170
171 Some sample queries::
171 Some sample queries:
172
173 - Changesets on the default branch::
174
175 hg log -r 'branch(default)'
176
177 - Changesets on the default branch since tag 1.5 (excluding merges)::
178
179 hg log -r 'branch(default) and 1.5:: and not merge()'
172
180
173 hg log -r 'branch(default)'
181 - Changesets between tags 1.3 and 1.5 mentioning "bug" that affect
174 hg log -r 'branch(default) and 1.5:: and not merge()'
182 hgext/*::
175 hg log -r '1.3::1.5 and keyword(bug) and file("hgext/*")'
183
176 hg log -r 'sort(date("May 2008"), user)'
184 hg log -r '1.3::1.5 and keyword(bug) and file("hgext/*")'
177 hg log -r '(keyword(bug) or keyword(issue)) and not ancestors(tagged())'
185
186 - Changesets in committed May 2008, sorted by user::
187
188 hg log -r 'sort(date("May 2008"), user)'
189
190 - Changesets mentioning "bug" or "issue" that are not in a tagged
191 release::
192
193 hg log -r '(keyword(bug) or keyword(issue)) and not ancestors(tagged())'
General Comments 0
You need to be logged in to leave comments. Login now