hgweb: fix deleted file in filediff key error
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hgweb: fix deleted file in filediff key error
manifest hash:
f751d213d2d2d49b3631dbe72699554e58ae590a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCsQOVW7P1GVgWeRoRAvRAAJ9cLxO+QLg6gEnn/0XPZJP1G/8/KQCfdygL
b+awDXRJmE0onoNzvzzIcBg=
=jDV4
-----END PGP SIGNATURE-----
--- a/mercurial/hgweb.py Wed Jun 15 19:52:41 2005 -0800
+++ b/mercurial/hgweb.py Thu Jun 16 05:44:05 2005 +0100
@@ -562,7 +562,7 @@
footer = self.footer(),
repo = self.reponame,
file = file,
- filenode = hex(mf[file]),
+ filenode = hex(mf.get(file, nullid)),
node = changeset,
rev = self.repo.changelog.rev(n),
p1 = hex(p1),