comparison mercurial/hgweb/hgweb_mod.py @ 3408:a004164dbeef

Make annotate use linkrev instead of rev
author Brendan Cully <brendan@kublai.com>
date Sun, 15 Oct 2006 17:38:07 -0700
parents 3c8f0dc9a6d3
children 372999405787
comparison
equal deleted inserted replaced
3407:d8eba1c3ce9b 3408:a004164dbeef
383 parity = 1 - parity 383 parity = 1 - parity
384 last = fnode 384 last = fnode
385 385
386 yield {"parity": parity, 386 yield {"parity": parity,
387 "node": hex(f.node()), 387 "node": hex(f.node()),
388 "rev": f.rev(), 388 "rev": f.linkrev(),
389 "author": name, 389 "author": name,
390 "file": f.path(), 390 "file": f.path(),
391 "line": l} 391 "line": l}
392 392
393 yield self.t("fileannotate", 393 yield self.t("fileannotate",