Mercurial > hg
view mercurial/templates/rss/changelogentry.tmpl @ 18227:720308f741cb
dispatch: show empty filename in OSError aborts
Mercurial would sometimes exit with:
abort: No such file or directory
where str of the actual OSError exception was the more helpful:
[Errno 2] No such file or directory: ''
The exception will now always show the filename and quote it:
abort: No such file or directory: ''
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 07 Jan 2013 02:00:29 +0100 |
parents | f91e5630ce7e |
children | 9409aeaafdc1 |
line wrap: on
line source
<item> <title>{desc|strip|firstline|strip|escape}</title> <guid isPermaLink="true">{urlbase}{url}rev/{node|short}</guid> <description><![CDATA[{desc|strip|escape|addbreaks|nonempty}]]></description> <author>{author|obfuscate}</author> <pubDate>{date|rfc822date}</pubDate> </item>