/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/templates/atom.pt

  • Committer: Ubuntu One Auto Copilot
  • Author(s): Jelmer Vernooij
  • Date: 2022-08-30 10:28:23 UTC
  • mfrom: (533.1.1 trunk)
  • Revision ID: otto-copilot@canonical.com-20220830102823-u3w6efosxw5s086s
Cope with moved errors NoSuchFile and FileExists in newer versions of Breezy.

Merged from https://code.launchpad.net/~jelmer/loggerhead/moved-errors/+merge/429073

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:tal="http://xml.zope.org/namespaces/tal">
3
3
  <title>
4
 
    bazaar changes for <tal:branch-name content="branch/friendly_name">branch name</tal:branch-name>
 
4
    bazaar changes for <tal:branch-name content="branch.friendly_name">branch name</tal:branch-name>
5
5
  </title>
6
6
  <updated tal:content="string:${updated}Z">${updated}</updated>
7
7
  <id tal:content="python:branch.absolute_url(['/atom'])">url</id>
9
9
  <link rel="alternate" type="text/html" tal:attributes="href python:branch.url(['/changes'])" />
10
10
 
11
11
  <entry tal:repeat="entry changes">
12
 
    <title tal:content="string:${entry/revno}: ${entry/short_comment}">
13
 
      ${entry/revno}: ${entry/short_comment}
 
12
    <title tal:content="string:${entry.revno}: ${entry.short_comment}">
 
13
      ${entry.revno}: ${entry.short_comment}
14
14
    </title>
15
 
    <updated tal:content="string:${entry/utc_date/isoformat}Z">
 
15
    <updated tal:content="string:${entry.utc_date.isoformat}Z">
16
16
      updated
17
17
    </updated>
18
18
    <!-- TODO: The feed validator will generate warnings because this is URL-encoded -->
19
19
    <id tal:content="python:branch.absolute_url(['/revision', entry.revno])">
20
20
      ID
21
21
    </id>
22
 
    <author tal:repeat="author entry/authors">
 
22
    <author tal:repeat="author entry.authors">
23
23
      <name tal:content="python:util.hide_email(author)">
24
24
        author
25
25
      </name>
26
26
    </author>
27
 
    <content type="text" tal:content="entry/comment">
 
27
    <content type="text" tal:content="entry.comment">
28
28
      comment
29
29
    </content>
30
30
    <link rel="alternate" type="text/html"