Show More
@@ -168,10 +168,26 b' Command line equivalents for :hg:`log`::' | |||
|
168 | 168 | -P x -> !::x |
|
169 | 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)' | |
|
174 | hg log -r 'branch(default) and 1.5:: and not merge()' | |
|
175 | hg log -r '1.3::1.5 and keyword(bug) and file("hgext/*")' | |
|
176 | hg log -r 'sort(date("May 2008"), user)' | |
|
177 | hg log -r '(keyword(bug) or keyword(issue)) and not ancestors(tagged())' | |
|
181 | - Changesets between tags 1.3 and 1.5 mentioning "bug" that affect | |
|
182 | hgext/*:: | |
|
183 | ||
|
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 | ||
|
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