--- a/mercurial/templates/atom/branchentry.tmpl Fri Feb 01 15:14:05 2013 -0600
+++ b/mercurial/templates/atom/branchentry.tmpl Fri Feb 01 20:43:35 2013 +0100
@@ -1,7 +1,7 @@
<entry>
<title>{branch|escape}</title>
- <link rel="alternate" href="{urlbase}{url}rev/{node|short}"/>
- <id>{urlbase}{url}#branch-{node}</id>
+ <link rel="alternate" href="{urlbase}{url|urlescape}rev/{node|short}"/>
+ <id>{urlbase}{url|urlescape}#branch-{node}</id>
<updated>{date|rfc3339date}</updated>
<published>{date|rfc3339date}</published>
<content type="text"><![CDATA[{branch|strip|escape|addbreaks}]]></content>