xitiomet 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 108
| Author | Revision | Comments | Message | Labels | Date |
|---|---|---|---|---|---|
|
xitiomet
|
82aae45f64f2 |
Added GetMentions to twitter.py |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
a58f4a7ad991 |
Support hashlib in addition to the older md5 library. |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
fc159c49c080 |
Use #!/usr/bin/python2.4 instead of #!/usr/bin/python. The code will still run on later pythons, of course. |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
2367f0c7822c |
Explicitly expose the .message accessor on TwitterError instances |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
3fcd7ce156a1 |
Include --encoding in the help message for examples/tweet.py. Patch by nealmcb in issue 57. |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
8202aa019ee2 |
Test the page parameter on GetFriends, GetFollowers, GetReplies, and GetDirectMessages |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
935cf080b638 |
Added page parameter to GetReplies, GetFriends, GetFollowers, and GetDirectMessages |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
c1d12896a51f |
Close the urllib opener after reading the response. |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
11710035d0b9 |
Added count parameter to GetFriendsTimeline |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
8bdda4c8187b |
Added the ability to provide a continuation string (such as " …") to statuses split using PostUpdates |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
81cef10d2991 |
Added PostUpdates, which automatically splits long status updates into multiple updates. |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
71b5f9cae083 |
Add in_reply_to_status_id to api.PostUpdate |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
3a4752d10bb7 |
Use rfc822 to parse Twitter datatimes in order to work with alternate locales, per issue 24 |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
806829c7dc10 |
Add since_id parameter to GetUserTimeline and GetFriendsTimeline |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
265fcf2a1e01 |
Wrap twitter error strings in a TwitterError excecption. |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
b02aa8558d4f |
Fixed the docstring for the _FetchUrl method |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
a10f9a46dc3d |
Added since and since_id to Api.GetReplies |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
472ef0f2ea07 |
Added the since_id parameter to GetDirectMessages |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
e2f8ed587060 |
Applied Jim Cortez's patch to fetch user by email address. |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
ecc8fc88cdb5 |
Updated the CHANGES and README for recent contributions |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
1139636b672f |
Adds support for status.in_reply_to_screen_name, status.in_reply_to_user_id, status.in_reply_to_status_id, status.truncated, status.source, user.statuses_count, user.followers_count, user.favourites_count, user.protected, user.utc_offset, user.time_zone, and several user.profile_* methods. |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
0ef37898cd2b |
Removed spurious import of the twitter module |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
07b822ba13ca |
Remove the escaping of '/' characters in the test data and test suite, as this is no longer required to match the behavior of simplejson (>2.0). |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
8e4eb1046f99 |
Require simplejson 2.0.7 or later, include a local copy of the library, and indicate its source in a NOTICE file. |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
fceb5d2374d2 |
Added the Apache license header to the .py files |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
a1e65b8c9435 |
Added get/create/destroy favorite flags for status messages. |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
fc7763723e15 |
Catch and handle OSError exception when library is called from a non tty device. |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
8aaa14d8c799 |
Updated the version to 0.6-devel |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
dc3b5838df28 |
Updated the generated documentation and set the svn:mime-type to text/html |
|
||
|
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
|
d981d739f261 |
Use a default of "nobody" if os.getlogin() fails. See: http://code.google.com/p/python-twitter/issues/detail?id=14 |
|