mercurial/templates/raw/changeset.tmpl
author Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Wed, 07 Oct 2015 11:33:52 +0300
changeset 26593 c60dfcc0abf2
parent 9999 f91e5630ce7e
permissions -rw-r--r--
cvsps: fix computation of parent revisions when log caching is on cvsps computes the parent revisions of log entries by walking the cvs log sorted by (rcs, revision) and by iteratively maintaining a 'versions' dictionary which maps a (rcs, branch) pair onto the last revision seen for that pair. When log caching is on and a log cache exists, cvsps fails to set the parent revisions of new log entries because it does not iterate over the log cache in the parents computation. A complication is that a file rcs can change (move to/from the attic), with respect to its value in the log cache, if the file is removed/added back. This patch adds an iteration over the log cache to update the rcs of cached log entries, if changed, and to properly populate the 'versions' dictionary.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8429
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 3236
diff changeset
     1
{header}
201
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
     2
# HG changeset patch
8429
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 3236
diff changeset
     3
# User {author}
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 3236
diff changeset
     4
# Date {date|hgdate}
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 3236
diff changeset
     5
# Node ID {node}
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 3236
diff changeset
     6
{parent%changesetparent}
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 3236
diff changeset
     7
{desc}
201
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
     8
8429
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 3236
diff changeset
     9
{diff}