Show More
@@ -914,19 +914,23 b' def matching(repo, subset, x):' | |||
|
914 | 914 | """``matching(revision [, field])`` |
|
915 | 915 | Changesets in which a given set of fields match the set of fields in the |
|
916 | 916 | selected revision or set. |
|
917 | ||
|
917 | 918 | To match more than one field pass the list of fields to match separated |
|
918 |
by spaces (e.g. |
|
|
919 | Valid fields are most regular revision fields and some special fields: | |
|
920 | * regular fields: | |
|
921 | - description, author, branch, date, files, phase, parents, | |
|
922 | substate, user. | |
|
923 | Note that author and user are synonyms. | |
|
924 | * special fields: summary, metadata. | |
|
925 | - summary: matches the first line of the description. | |
|
926 | - metatadata: It is equivalent to matching 'description user date' | |
|
927 | (i.e. it matches the main metadata fields). | |
|
928 | metadata is the default field which is used when no fields are specified. | |
|
929 | You can match more than one field at a time. | |
|
919 | by spaces (e.g. ``author description``). | |
|
920 | ||
|
921 | Valid fields are most regular revision fields and some special fields. | |
|
922 | ||
|
923 | Regular revision fields are ``description``, ``author``, ``branch``, | |
|
924 | ``date``, ``files``, ``phase``, ``parents``, ``substate`` and ``user``. | |
|
925 | Note that ``author`` and ``user`` are synonyms. | |
|
926 | ||
|
927 | Special fields are ``summary`` and ``metadata``: | |
|
928 | ``summary`` matches the first line of the description. | |
|
929 | ``metatadata`` is equivalent to matching ``description user date`` | |
|
930 | (i.e. it matches the main metadata fields). | |
|
931 | ||
|
932 | ``metadata`` is the default field which is used when no fields are | |
|
933 | specified. You can match more than one field at a time. | |
|
930 | 934 | """ |
|
931 | 935 | l = getargs(x, 1, 2, _("matching takes 1 or 2 arguments")) |
|
932 | 936 |
General Comments 0
You need to be logged in to leave comments.
Login now