mercurial/templates/atom/error.tmpl
author Angel Ezquerra <angel.ezquerra@gmail.com>
Sun, 01 Apr 2012 14:12:14 +0200
changeset 16402 1fb2f1400ea8
parent 9999 f91e5630ce7e
child 18526 9409aeaafdc1
permissions -rw-r--r--
revset: add "matching" keyword This keyword can be used to find revisions that "match" one or more fields of a given set of revisions. A revision matches another if all the selected fields (description, author, branch, date, files, phase, parents, substate, user, summary and/or metadata) match the corresponding values of those fields on the source revision. By default this keyword looks for revisions that whose metadata match (description, author and date) making it ideal to look for duplicate revisions. matching takes 2 arguments (the second being optional): 1.- rev: a revset represeting a _single_ revision (e.g. tip, ., p1(.), etc) 2.- [field(s) to match]: an optional string containing the field or fields (separated by spaces) to match. Valid fields are most regular context fields and some special fields: * regular fields: - description, author, branch, date, files, phase, parents, substate, user. Note that author and user are synonyms. * special fields: summary, metadata. - summary: matches the first line of the description. - metatadata: It is equivalent to matching 'description user date' (i.e. it matches the main metadata fields). Examples: 1.- Look for revisions with the same metadata (author, description and date) as the 11th revision: hg log -r "matching(11)" 2.- Look for revisions with the same description as the 11th revision: hg log -r "matching(11, description)" 3.- Look for revisions with the same 'summary' (i.e. same first line on their description) as the 11th revision: hg log -r "matching(11, summary)" 4.- Look for revisions with the same author as the current revision: hg log -r "matching(., author)" You could use 'user' rather than 'author' to get the same result. 5.- Look for revisions with the same description _AND_ author as the tip of the repository: hg log -r "matching(tip, 'author description')" 6.- Look for revisions touching the same files as the parent of the tip of the repository hg log -r "matching(p1(tip), files)" 7.- Look for revisions whose subrepos are on the same state as the tip of the repository or its parent hg log -r "matching(p1(tip):tip, substate)" 8.- Look for revisions whose author and subrepo states both match those of any of the revisions on the stable branch: hg log -r "matching(branch(stable), 'author substate')"
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7749
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     1
{header}
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     2
 <!-- Error -->
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     3
 <id>{urlbase}{url}</id>
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     4
 <link rel="self" href="{urlbase}{url}atom-log"/>
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     5
 <link rel="alternate" href="{urlbase}{url}"/>
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     6
 <title>Error</title>
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     7
 <updated>1970-01-01T00:00:00+00:00</updated>
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     8
 <entry>
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     9
  <title>Error</title>
8936
1de6e7e1bb9f change wiki/bts URLs to point to new hostname
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7749
diff changeset
    10
  <id>http://mercurial.selenic.com/#error</id>
7749
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    11
  <author>
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    12
    <name>mercurial</name>
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    13
  </author>
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    14
  <updated>1970-01-01T00:00:00+00:00</updated>
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    15
  <content type="text">{error|escape}</content>
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    16
 </entry>
f32af51aaee5 hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    17
</feed>