templates/changelogentry.tmpl
author Bryan O'Sullivan <bos@serpentine.com>
Wed, 24 Aug 2005 12:39:10 -0700
changeset 1031 503aaf19a040
parent 585 51626d888526
child 1334 0843e1bf2b97
permissions -rw-r--r--
Rewrite log command. New version is faster and more featureful. The original implementation of log walked backwards through history, which had terrible behaviour. It took several minutes to view complete kernel change history on a fast machine, for example. The rewrite uses a windowed approach to walk hunks of history forwards, while still giving results in reverse order. This reduces run time from five minutes to five seconds on my system. In addition, the rewrite uses our normal name handling mechanisms, so you can run a command like "hg log net/ipv4/**.c" and get a useful answer. It optimises for three different cases (no arguments, only files, and anything goes), so it performs well in all circumstances I've tested.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
585
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
     1
<table class="changelogEntry parity#parity#">
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
     2
 <tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
     3
  <th class="age">#date|age# ago:</th>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
     4
  <th class="firstline">#desc|firstline|escape#</th>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
     5
 </tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
     6
 <tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
     7
  <th class="changesetRev">changeset #rev#:</th>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
     8
  <td class="changesetNode"><a href="?cmd=changeset;node=#node#">#node|short#</a></td>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
     9
 </tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    10
 #parent#
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    11
 #changelogtag#
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    12
 <tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    13
  <th class="author">author:</th>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    14
  <td class="author">#author|obfuscate#</td>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    15
 </tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    16
 <tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    17
  <th class="date">date:</th>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    18
  <td class="date">#date|date#</td>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    19
 </tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    20
 <tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    21
  <th class="files"><a href="?cmd=manifest;manifest=#manifest#;path=/">files</a>:</th>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    22
  <td class="files">#files#</td>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    23
 </tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
    24
</table>