Fredrik Lundh 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 447
| Author | Revision | Comments | Message | Labels | Date |
|---|---|---|---|---|---|
|
|
6a64b3083e35 |
Added Python interpreter override mechanism. | |||
|
|
6a37dbdfba19 |
Made feature check work under 3.2. |
|
||
|
|
0ac3583b8a6e |
From Sandro Mani: |
|
||
|
|
5388258f8ec0 |
Release preparations. |
|
||
|
|
1ea25dd92178 |
Install cleanly under Python 3. |
|
||
|
|
00e2b245b697 |
Tweaks. |
|
||
|
|
71b9edf33b21 |
Don't crash in selftest if binary extensions not present. |
|
||
|
|
39f231fda890 |
Removed local copy of doctest.py |
|
||
|
|
e247e0c0dfd4 |
Don't build extensions for Python 3.X yet. |
|
||
|
|
c4d9b862088f |
Make sure CID is stored as string. |
|
||
|
|
341f11463da7 |
Store quantization arrays as lists. |
|
||
|
|
3be1d3128a62 |
Added str/byte helpers. |
|
||
|
|
498b9c6e9e63 |
Hacky ByteArray implementation for Python 3.X. |
|
||
|
|
01734a5a6c43 |
Use exc_info() instead of exc_type/exc_value |
|
||
|
|
24057cf6bdd4 |
Only import ImagePalette, ImageMode, and the warnings module when |
|
||
|
|
29c8bc857516 |
Added basic binary stream test. |
|
||
|
|
ba0069bfa9c9 |
Replace int16/int32 helpers with stream get parser method. |
|
||
|
|
6b1b0d371215 |
Fixed a few more integer division issues. |
|
||
|
|
b172bbbf32f6 |
Fixed a few integer division issues. |
|
||
|
|
9256c873fbff |
Repaired 2.3 compatibility. |
|
||
|
|
77e93940a7dd |
Fixed isinstance call. |
|
||
|
|
20b8a17e8af8 |
Print version numbers for available support libraries, if known. |
|
||
|
|
bb918d6d157b |
Ignore directories and PDF files. |
|
||
|
|
a2c277880971 |
Mark init functions with PyMODINIT_FUNC |
|
||
|
|
fd86523f89c6 |
Updated setup and selftest to deal with new package layout. |
|
||
|
|
f6425f467061 |
Removed string module depencendy in make-manifest |
|
||
|
|
aa282e2a2a19 |
Ignore autogenerated MANIFEST file. |
|
||
|
|
0455ba64f300 |
Rough 3.X support layer. |
|
||
|
|
874630050099 |
Don't use 2.X-specific syntax in setup.py |
|
||
|
|
7636b42b2b44 |
Added a few more Image-specific exception subclasses. |
|