Filip de Waard 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 86
| Author | Revision | Comments | Message | Labels | Date |
|---|---|---|---|---|---|
|
Filip de Waard
|
6c1b61e92b23 |
Updated required Sphinx version in setup.py and tweaked .hgignore |
|
||
|
Filip de Waard
|
b8d1e09d7e7f |
Added controller |
|
||
|
Filip de Waard
|
8a9c7a0ef552 |
Fixed bug regarding atom:contributor tag name |
|
||
|
Filip de Waard
|
9c8bf5334f27 |
Removed some unecessary features (Mako and Webhelpers) that were included by the default Pylons project template |
|
||
|
Filip de Waard
|
0b5cc9976210 |
Added 'entries' and 'feeds' controllers |
|
||
|
Filip de Waard
|
5b60044ca268 |
Added atompub.Feed |
|
||
|
Filip de Waard
|
f79f8ac18ce6 |
Fixed atompub.Entry load_xml input cleaner |
|
||
|
Filip de Waard
|
c202301050c4 |
Improved content type support and started implementing HTML/XHTML input cleaner |
|
||
|
Filip de Waard
|
3fde6269a881 |
Added initial support for HTML cleaning to atompub.Entry load_xml method |
|
||
|
Filip de Waard
|
d90111903920 |
Refactored atompub.Entry in_reply_to and parent attributes |
|
||
|
Filip de Waard
|
333fd317cc34 |
Polished documentation |
|
||
|
Filip de Waard
|
67a21143aaf0 |
Added Sphinx 0.6dev (or higher) dependency to setup.py |
|
||
|
Filip de Waard
|
22b45ffddb4b |
Added support for related objects to atompub.Entry to_model_object method |
|
||
|
Filip de Waard
|
3e7c9ad11bc5 |
Polished timezone-related code and partly implemented atompub.to_model_object method |
|
||
|
Filip de Waard
|
b960fd7cb175 |
Renamed filename extension regular expression that is used in the util.split_filename function |
|
||
|
Filip de Waard
|
7a4a4f37631f |
Changed all regular expressions in lib.util to compiled patterns |
|
||
|
Filip de Waard
|
542a58a15dd6 |
Added lib.util.FixedOffsetTimezone and util.rfc_to_datetime |
|
||
|
Filip de Waard
|
96ed44ff5ad5 |
Moved utility functions from lib.atompub to lib.util |
|
||
|
Filip de Waard
|
28dc1f35a087 |
Added atompub.Entry to_model_object method (still unimplemented) |
|
||
|
Filip de Waard
|
9a0d42266333 |
Added link to identify in-reply-to element as parent entry to atompub.Entry |
|
||
|
Filip de Waard
|
1883c8415b2d |
Improved unit test for atompub.Entry load_xml method |
|
||
|
Filip de Waard
|
09e0ae95faa6 |
Added support for app:draft, and thr:in-reply-to elements to atompub.Entry load_xml method |
|
||
|
Filip de Waard
|
6e3853f83ed1 |
Added load_xml method to atompub.Entry and did some general code cleanup |
|
||
|
Filip de Waard
|
2b371aaa13af |
Updated required Pylons version to 0.9.7 from 0.9.7dev |
|
||
|
Filip de Waard
|
71f310229145 |
Changed 'Unicode string' into 'unicode' in model docstrings |
|
||
|
Filip de Waard
|
81dbe50dd65f |
Renamed atompub.Entry parse_model_object method to load_model_object |
|
||
|
Filip de Waard
|
6e83d2c54772 |
Added render method to atompub.Entry |
|
||
|
Filip de Waard
|
920e2cfea2cd |
Added atompub.Entry class and added optional published date parameter to model.Entry __init__ method |
|
||
|
Filip de Waard
|
0b540f37b8ff |
Added basic configuration instructions to documentation |
|
||
|
Filip de Waard
|
073f981565b9 |
Updated and polished documentation |
|