Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb.py @ 571:c7364b985ca2
[PATCH 3/5]: cleaning the template parent management in hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH 3/5]: cleaning the template parent management in hgweb
From: Goffredo Baroncelli <kreijack@libero.it>
the filediff template use the old style p1/p2 and p1rev/p2rev
inteface; the patch removes this old stuff, and update the code to the
new style
manifest hash: 29536b6ee71f03a48bceb7336040070ecd0d2b9e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCxvplywK+sNU5EO8RApW4AKCrTLHofr8jELtvNRpoNJHc0sjEfgCfaY2q
/H96T6BMMXA4VLFVxzOBHCo=
=u4El
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Sat, 02 Jul 2005 12:34:45 -0800 |
parents | 2ee819a950aa |
children | cb7cd12e00f1 |
comparison
equal
deleted
inserted
replaced
570:2ee819a950aa | 571:c7364b985ca2 |
---|---|
628 repo = self.reponame, | 628 repo = self.reponame, |
629 file = file, | 629 file = file, |
630 filenode = hex(mf.get(file, nullid)), | 630 filenode = hex(mf.get(file, nullid)), |
631 node = changeset, | 631 node = changeset, |
632 rev = self.repo.changelog.rev(n), | 632 rev = self.repo.changelog.rev(n), |
633 p1 = hex(p1), | 633 parent = self.parents("filediffparent", |
634 cl.parents(n), cl.rev), | |
634 p1rev = self.repo.changelog.rev(p1), | 635 p1rev = self.repo.changelog.rev(p1), |
635 diff = diff) | 636 diff = diff) |
636 | 637 |
637 # add tags to things | 638 # add tags to things |
638 # tags -> list of changesets corresponding to tags | 639 # tags -> list of changesets corresponding to tags |