annotate mercurial/templates/rss/branchentry.tmpl @ 19105:c60a7f5a741f stable

icasefs: rewrite case-folding collision detection (issue3452) Before this patch, case-folding collision detection uses "copies.pathcopies()" before "manifestmerge()", and is not aware of renaming in some cases. For example, in the case of issue3452, "copies.pathcopies()" can't detect renaming, if the file is renamed at the revision before common ancestor of merging. So, "hg merge" is aborted unexpectedly on case insensitive filesystem. This patch fully rewrites case-folding collision detection, and relocate it into "manifestmerge()". New implementation uses list of actions held in "actions" and "prompts" to build provisional merged manifest up. Provisional merged manifest should be correct, if actions required to build merge result up in working directory are listed up in "actions" and "prompts" correctly. This patch checks case-folding collision still before prompting for merge, to avoid aborting after some interactions with users. So, this assumes that user would choose not "deleted" but "changed". This patch also changes existing abort message, because sorting before collision detection changes order of checked files.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Tue, 30 Apr 2013 05:01:32 +0900
parents 9409aeaafdc1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18045
add2f9ddcfb5 hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff changeset
1 <item>
add2f9ddcfb5 hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff changeset
2 <title>{branch|escape}</title>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18045
diff changeset
3 <link>{urlbase}{url|urlescape}rev/{node|short}</link>
18045
add2f9ddcfb5 hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff changeset
4 <description><![CDATA[{branch|strip|escape|addbreaks}]]></description>
add2f9ddcfb5 hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff changeset
5 <pubDate>{date|rfc822date}</pubDate>
add2f9ddcfb5 hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff changeset
6 </item>