Mercurial > public > mercurial-scm > hg
view mercurial/templates/atom/error.tmpl @ 23358:1b51d1b05482
transaction: write pending generated files
Such file are generated with a .pending prefix. It is up to the reader to
implement the necessary logic for reading pending files.
We add a test to ensure pending files are properly cleaned-up in both success and
error cases.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 17 Oct 2014 22:19:05 -0700 |
parents | 9409aeaafdc1 |
children | 4b0fc75f9403 |
line wrap: on
line source
{header} <!-- Error --> <id>{urlbase}{url|urlescape}</id> <link rel="self" href="{urlbase}{url|urlescape}atom-log"/> <link rel="alternate" href="{urlbase}{url|urlescape}"/> <title>Error</title> <updated>1970-01-01T00:00:00+00:00</updated> <entry> <title>Error</title> <id>http://mercurial.selenic.com/#error</id> <author> <name>mercurial</name> </author> <updated>1970-01-01T00:00:00+00:00</updated> <content type="text">{error|escape}</content> </entry> </feed>