view mercurial/templates/atom/bookmarkentry.tmpl @ 47124:cd8ca38fccff

rust: Use `&HgPath` instead of `&HgPathBuf` in may APIs Getting the former (through `Deref`) is almost the only useful thing one can do with the latter anyway. With this changes, API become more flexible for the "provider" of these paths which may store something else that Deref’s to HgPath, such as `std::borrow::Cow<HgPath>`. Using `Cow` can help reduce memory alloactions and copying. Differential Revision: https://phab.mercurial-scm.org/D10558
author Simon Sapin <simon.sapin@octobus.net>
date Fri, 30 Apr 2021 19:57:46 +0200
parents 9409aeaafdc1
children
line wrap: on
line source

 <entry>
  <title>{bookmark|escape}</title>
  <link rel="alternate" href="{urlbase}{url|urlescape}rev/{node|short}"/>
  <id>{urlbase}{url|urlescape}#bookmark-{node}</id>
  <updated>{date|rfc3339date}</updated>
  <published>{date|rfc3339date}</published>
  <content type="text">{bookmark|strip|escape}</content>
 </entry>