Mercurial > hg
annotate mercurial/templates/atom/changelogentry.tmpl @ 30887:a95fc01aaffe
commandserver: prevent unlink socket twice
This patch changes unixforkingservice so it only calls
`self._servicehandler.unlinksocket(self.address)` at most once.
This is needed by the next patch.
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 08 Feb 2017 14:37:38 -0800 |
parents | c42a3fd5c1fc |
children |
rev | line source |
---|---|
5269
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
1 <entry> |
21117
91eb605022f5
hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents:
21056
diff
changeset
|
2 <title>{inbranch%"{if(name, '[{name|escape}] ')}"}{branches%"{if(name, '[{name|escape}] ')}"}{desc|strip|firstline|strip|escape|nonempty}</title> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9999
diff
changeset
|
3 <id>{urlbase}{url|urlescape}#changeset-{node}</id> |
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9999
diff
changeset
|
4 <link href="{urlbase}{url|urlescape}rev/{node|short}"/> |
5269
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
5 <author> |
8428
5ccca71775e1
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8235
diff
changeset
|
6 <name>{author|person|escape}</name> |
5ccca71775e1
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8235
diff
changeset
|
7 <email>{author|email|obfuscate}</email> |
5269
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
8 </author> |
8428
5ccca71775e1
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8235
diff
changeset
|
9 <updated>{date|rfc3339date}</updated> |
5ccca71775e1
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8235
diff
changeset
|
10 <published>{date|rfc3339date}</published> |
5269
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
11 <content type="xhtml"> |
29439
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
12 <table xmlns="http://www.w3.org/1999/xhtml"> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
13 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
14 <th style="text-align:left;">changeset</th> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
15 <td>{node|short}</td> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
16 </tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
17 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
18 <th style="text-align:left;">branch</th> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
19 <td>{inbranch%"{name|escape}"}{branches%"{name|escape}"}</td> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
20 </tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
21 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
22 <th style="text-align:left;">bookmark</th> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
23 <td>{bookmarks%"{name|escape}"}</td> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
24 </tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
25 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
26 <th style="text-align:left;">tag</th> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
27 <td>{tags%"{name|escape}"}</td> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
28 </tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
29 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
30 <th style="text-align:left;">user</th> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
31 <td>{author|obfuscate}</td> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
32 </tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
33 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
34 <th style="text-align:left;vertical-align:top;">description</th> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
35 <td>{desc|strip|escape|websub|addbreaks|nonempty}</td> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
36 </tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
37 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
38 <th style="text-align:left;vertical-align:top;">files</th> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
39 <td>{files}</td> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
40 </tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
21486
diff
changeset
|
41 </table> |
5269
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
42 </content> |
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
43 </entry> |