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:: | |||
172 |
|
174 | |||
173 | hg log -r 'branch(default)' |
|
175 | hg log -r 'branch(default)' | |
|
176 | ||||
|
177 | - Changesets on the default branch since tag 1.5 (excluding merges):: | |||
|
178 | ||||
174 | hg log -r 'branch(default) and 1.5:: and not merge()' |
|
179 | hg log -r 'branch(default) and 1.5:: and not merge()' | |
|
180 | ||||
|
181 | - Changesets between tags 1.3 and 1.5 mentioning "bug" that affect | |||
|
182 | hgext/*:: | |||
|
183 | ||||
175 | hg log -r '1.3::1.5 and keyword(bug) and file("hgext/*")' |
|
184 | hg log -r '1.3::1.5 and keyword(bug) and file("hgext/*")' | |
|
185 | ||||
|
186 | - Changesets in committed May 2008, sorted by user:: | |||
|
187 | ||||
176 | hg log -r 'sort(date("May 2008"), user)' |
|
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 | ||||
177 | hg log -r '(keyword(bug) or keyword(issue)) and not ancestors(tagged())' |
|
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