Mercurial > hg
comparison mercurial/help/revsets.txt @ 12808:74f6531581e8 stable
help: use Windows cmd compatible quoting in revset help
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 22 Oct 2010 17:05:51 +0200 |
parents | c7e619e30ba3 |
children | 165079e564f0 |
comparison
equal
deleted
inserted
replaced
12807:6bbf0139a36d | 12808:74f6531581e8 |
---|---|
176 | 176 |
177 Some sample queries: | 177 Some sample queries: |
178 | 178 |
179 - Changesets on the default branch:: | 179 - Changesets on the default branch:: |
180 | 180 |
181 hg log -r 'branch(default)' | 181 hg log -r "branch(default)" |
182 | 182 |
183 - Changesets on the default branch since tag 1.5 (excluding merges):: | 183 - Changesets on the default branch since tag 1.5 (excluding merges):: |
184 | 184 |
185 hg log -r 'branch(default) and 1.5:: and not merge()' | 185 hg log -r "branch(default) and 1.5:: and not merge()" |
186 | 186 |
187 - Open branch heads:: | 187 - Open branch heads:: |
188 | 188 |
189 hg log -r 'head() and not closed()' | 189 hg log -r "head() and not closed()" |
190 | 190 |
191 - Changesets between tags 1.3 and 1.5 mentioning "bug" that affect | 191 - Changesets between tags 1.3 and 1.5 mentioning "bug" that affect |
192 ``hgext/*``:: | 192 ``hgext/*``:: |
193 | 193 |
194 hg log -r '1.3::1.5 and keyword(bug) and file("hgext/*")' | 194 hg log -r "1.3::1.5 and keyword(bug) and file('hgext/*')" |
195 | 195 |
196 - Changesets in committed May 2008, sorted by user:: | 196 - Changesets in committed May 2008, sorted by user:: |
197 | 197 |
198 hg log -r 'sort(date("May 2008"), user)' | 198 hg log -r "sort(date('May 2008'), user)" |
199 | 199 |
200 - Changesets mentioning "bug" or "issue" that are not in a tagged | 200 - Changesets mentioning "bug" or "issue" that are not in a tagged |
201 release:: | 201 release:: |
202 | 202 |
203 hg log -r '(keyword(bug) or keyword(issue)) and not ancestors(tagged())' | 203 hg log -r "(keyword(bug) or keyword(issue)) and not ancestors(tagged())" |