James Mills is sharing code with you
Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.
Don't show this againSearching for commits
Mercurial supports a functional language for selecting a set of revisions.
The language supports a number of predicates which are joined by infix operators. Parenthesis can be used for grouping.
Identifiers such as branch names must be quoted with single
or double quotes if they contain characters outside of
[._a-zA-Z0-9\x80-\xff] or if they match one of the
predefined predicates.
Prefix operators
- not x
- Changesets not in x. Short form is
! x.
Infix operators
- x::y
-
A DAG range, meaning all changesets that are descendants of x and ancestors of y, including x and y themselves. If the first endpoint is left out, this is equivalent to
ancestors(y), if the second is left out it is equivalent todescendants(x).An alternative syntax is
x..y. - x:y
- All changesets with revision numbers between x and y, both inclusive. Either endpoint can be left out, they default to 0 and tip.
- x and y
- The intersection of changesets in x and y. Short form is
x & y. - x or y
- The union of changesets in x and y. There are two alternative
short forms:
x | yandx + y. - x - y
- Changesets in x but not in y.
Predicates
- all()
- All changesets, the same as
0:tip. - ancestor(single, single)
- Greatest common ancestor of the two changesets.
- ancestors(set)
- Changesets that are ancestors of a changeset in set.
- author(string)
- Alias for
user(string). - bookmark([name])
- The named bookmark or all bookmarks.
- branch(set)
- All changesets belonging to the branches of changesets in set.
- children(set)
- Child changesets of changesets in set.
- closed()
- Changeset is closed.
- date(interval)
- Changesets within the interval, see
hg help dates. - descendants(set)
- Changesets which are descendants of changesets in set.
- file(pattern)
- Changesets affecting files matched by pattern.
- follow()
- An alias for
::.(ancestors of the working copy's first parent). - grep(regex)
- Like
keyword(string)but accepts a regex. Usegrep(r'...')to ensure special escape characters are handled correctly. - head()
- Changeset is a named branch head.
- heads(set)
- Members of set with no children in set.
- id(string)
- Revision non-ambiguously specified by the given hex string prefix.
- keyword(string)
- Search commit message, user name, and names of changed files for string.
- limit(set, n)
- First n members of set.
- max(set)
- Changeset with highest revision number in set.
- merge()
- Changeset is a merge changeset.
- min(set)
- Changeset with lowest revision number in set.
- p1([set])
- First parent of changesets in set, or the working directory.
- p2([set])
- Second parent of changesets in set, or the working directory.
- parents([set])
- The set of all parents for all changesets in set, or the working directory.
- present(set)
- An empty set, if any revision in set isn't found; otherwise, all revisions in set.
- rev(number)
- Revision with the given numeric identifier.
- roots(set)
- Changesets with no parent changeset in set.
- tag(name)
- The specified tag by name, or all tagged revisions if no name is given.
- user(string)
- User name is string.
Commits 1–30 of 3,135
| Author | Revision | Comments | Message | Labels | Date |
|---|---|---|---|---|---|
|
Alessio Deiana
|
bc8cceb5696b |
Adds my work address to hgchurn |
|
||
|
Alessio Deiana
|
b34d54d42943 |
fixes all web dispatcher tests |
|
||
|
mnlipp
|
157abf27cf4c |
Merge with 44f7d1a79553bf752c84cd914fd43aa37ba07be4 |
|
||
|
mnlipp
|
44f7d1a79553 |
Prevent single-shot timers from sending more than one event. |
|
||
|
mnlipp
|
b7d588e070b5 |
Optimization for Linux platforms. |
|
||
|
mnlipp
|
627fbfb70ec7 |
Merge with 416ff4563dce78b34a75d7871dc13ec088e88782 |
|
||
|
mnlipp
|
3df757b9f3a5 |
New approach to implementation of tick alternative (following Osso's suggestions). |
|
||
|
mnlipp
|
416ff4563dce |
Fix XMLRPC dispatcher. Must have a higher priority than the "default" dispatcher in order to coexist with it. |
|
||
|
mnlipp
|
f636e7f542ab |
Merge with 7c2b2b2343555a78d6766ce655f80565e176cd54 (latest from tip) |
|
||
|
mnlipp
|
7c2b2b234355 |
Fixed unit test for failure response from web *component* (component's handler must have higher priority than default dispatcher if default dispatcher exists). Added failure test for web *controller*. |
|
||
|
mnlipp
|
17c50dca47ab |
Fix JSON dispatcher. Must have a higher priority than the "default" dispatcher in order to coexist with it. |
|
||
|
mnlipp
|
11dd37a2648a |
vpath created in reverse ("test_args/1/2/3" became "3/2/1/test_args"). Fixed. |
|
||
|
mnlipp
|
a223290da7f0 |
Merge with 8abd46905aec42f4b1abdb7553b340712f15f8bd (latest from tip) |
|
||
|
mnlipp
|
8abd46905aec |
Fix evaluation of the Complete event: exclude events fired by other threads during event processing from the set of events to be tracked. |
|
||
|
mnlipp
|
054064328582 |
Redesigned tick() to only use polling if absolutely necessary. |
|
||
|
mnlipp
|
74e88c5a5051 |
Starting 'tick-alternative' branch |
|
||
|
mnlipp
|
a868f0b1207b |
Don't call tick on components that are waiting to be unregistered. |
|
||
|
mnlipp
|
2f1db1e67603 |
Using new PrepareUnregister event to reliably remove sockets from poller. |
|
||
|
mnlipp
|
4ae4b92eff70 |
Fixes for PrepareUnregister and added test case. |
|
||
|
mnlipp
|
b21e2c3614b6 |
Add event that informs components about going to be removed from the tree. |
|
||
|
mnlipp
|
c319cce8db82 |
Fixed client request generation (MUST include Host header). |
|
||
|
mnlipp
|
441636dc1a01 |
Fixed channel naming in web.Client to allow several clients (i.e. connections to web sites) to coexist in an application. |
|
||
|
mnlipp
|
4efc0dd43889 |
Prevent uncameling of event names that represent web requests. Handlers can now use the last path segment unmodified as handled event's name. |
|
||
|
Alessio Deiana
|
365f551fd7ba |
pep8 fixes |
|
||
|
Alessio Deiana
|
41bf1bf4ed1b |
Fixed the new dispatcher with new tests |
|
||
|
Alessio Deiana
|
21da2175ec3a |
Fixed the new dispatcher |
|
||
|
Alessio Deiana
|
78f98ed45618 |
Fixed the new dispatcher |
|
||
|
Alessio Deiana
|
3a07facff1ee |
superseeded |
|
||
|
Alessio Deiana
|
cd5a82a4feb8 |
work on yield |
|
||
|
Alessio Deiana
|
d8bbae6b2204 |
work on yield |
|